Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Deleted user September 7, 2017

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
September 7, 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.

Deleted user September 7, 2017

Okay, thanks for the fast response :)

Thomas Schlegel
Community Champion
September 7, 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. 

Tal Koren September 20, 2017

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 @[deleted] attached, jira data is presented below the error message.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events