Forums

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

XRay cloud User REST API token: error: User can't access project

Zakhar Yermakovich April 6, 2023

I started using xray-jira and trying to figure out how to use it's rest api. (I already asked a question https://community.atlassian.com/t5/Jira-Software-questions/XRay-cloud-REST-API-Authorization-error-401/qaq-p/2320919#M259295  )

Now I generated a ClientId and ClientSecret for new user I added and try to reach rest api endpoints using his token. And got response status 400. This new user is also an admin like me. But my token works good and his doesn't.

It says "User can't access project", but the user is added to the project and has tasks assigned.

Could anyone please give me a piece of advice what's wrong.

 

users.png200.png400.png

1 answer

1 accepted

0 votes
Answer accepted
Zakhar Yermakovich June 1, 2023

It's appeared to be all about user permissions

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events