Getting two error messages in Confluence - "status-code":401 and "errors" Edited

I've created a Space in Confluence and made it available for all logged-in users. Everyone can access the space and view/comment/attach etc.,but there's one issue.
I've added an "Agile Wallboard Gadget" to the front page, showing a Kanban board from JIRA. Unfortunately people who have access only to Confluence (confluence-users) - cannot view the board and are getting the following error messages (I've attached a screenshot as well):

{"message":"Client must be authenticated to access this resource.","status-code":401}

{"errorMessages":["You currently don't have access to perform this operation."],"errors":{}}

I've verified that the Space permissions are correct, also checked the filter of the board in JIRA and it is indeed shared with the group "confluence-users", so it shouldn't be a matter of permission problem. Just for the sake of it, I also tried giving annonymous access to Confluence and to the that same Space, but it didn't make a difference.

I imagine that it's somewhat related to the authentication of JIRA, but not sure how exactly nor how I can fix that. Now I'm also experiencing the "{"message":"Client must be authenticated to access this resource.","status-code":401}" message, but atleast I can see the board at the bottom instead of the second message. I have site admin access to both JIRA and Confluence. Not sure if relevant, but we sign-in via Google.

First screenshot is from a Confluence user only.
The second one is from my account where still one of the error messages is shown, but atleast the board is visible.screen_shot_2017-09-06_at_11.16.48_am_1024.png2017-09-07_1002.png

1 answer

1 accepted

1 vote
Thomas Schlegel Community Champion Sep 07, 2017

Hi Alexander,

the error message is right. It says, that the user can't connect to Jira (which is right, as you said, this happens to people who have access only to Confluence). Therefore, he is not allowed to see the Jira data.

Okay, thanks for the fast response :)

Thomas Schlegel Community Champion Sep 07, 2017

Maybe you can show the Jira Gadgets only to a special group of users and hide them (and therefore also the error message) from all the others.

I've written an article about hiding things in Confluence. Maybe you get some ideas there.

If you think, your question is answered, please mark it as answered. With such a mark, other users may find answered questions more easy.

Thank you. 

Hi @Thomas Schlegel,

I have the same issue, and I'm an admin in both confluence and jira.

Also, as you can see in the screenshot @Alexander Shibilev attached, jira data is presented below the error message.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

2,691 views 25 10
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you