Forums

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

API 401 error

Sam Potashnick
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 26, 2023

Hi,

I'm using the Jira API and I'm able to access many of the endpoints successfully via Postman therefore I know I have the auth set up correctly.

My issue is that I can't access the 'Get User' endpoint and get a response of 

"You are not authenticated. Authentication required to perform this operation."
I'm an org and site admin so don't see how it could be a permissions issue.
This is the endpoint Im trying to access:
/rest/api/3/user?accountId=12345*****
I've also tried using the V2 API but still nothing. I really need this endpoint to get the email of the user.
Any suggestions? 

1 answer

1 accepted

0 votes
Answer accepted
Fazila Ashraf
Community Champion
May 26, 2023

Hi @Sam Potashnick 

If the credentials are all correct, then can you check whether you inherit the Browse users and groups Global permission?

Sam Potashnick
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 26, 2023

I figured it out. I had generated a token only for Jira, needed to do one for Atlassian

Like Fazila Ashraf likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
atlassian, confluence, loom, atlassian intelligence, ai notes, ai-powered meeting notes, atlassian community events, ace, confluence ai, loom ai integration, ai note-taking, atlassian ai features, team '25, atlassian live learning, confluence automation

Unlock AI-powered meeting notes: Join our live learning session! 📹

Did you catch the news at Team ‘25? With Loom, Confluence, Atlassian Intelligence, & even Jira 👀, you won’t have to worry about taking meeting notes again… unless you want to. Join us to explore the beta & discover a new way to boost meeting productivity.

Register today!
AUG Leaders

Atlassian Community Events