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

2 votes
Answer accepted
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
Community showcase
Published Tuesday in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

212 views 2 10
Read article

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