Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,295,958
Community Members
 
Community Events
165
Community Groups

Issue when accessing REST API V3 with OAuth2.0

Edited

I have been trying to get all users account Ids via the JIRA Oauth2 Integration 3LO app and getting the below error

https://{{Jira-Endpoint}}/rest/api/3/users

I am using most of the scopes too.

manage:jira-configuration manage:jira-project manage:jira-webhook write:jira-work read:jira-work read:jira-user manage:jira-data-provider offline_access

Response received : 

{"code":401,"errorMessage":"Unauthorized"}

I am getting the same error on postman as well

Annotation 2021-07-28 032718.jpg
I am generating a new Bearer access token using the refresh token every 5 mins for the api requests

Could anyone please advise on fixing this issue

1 answer

Hi @Ankith Rai, welcome to the Atlassian Community!

You have probably figured this out by now, just in case: App development related questions are best asked in the Jira Cloud Development category of the Atlassian Developer Community, you have a greater chance to get feedback from other app developers there. Both the oauth2 and 3lo tags have frequent activity, and quite some Atlassian team members are monitoring the developer community as well.

Cheers,
Steffen

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
Community showcase
Published in Jira Work Management

Join us for a live demo of Jira Work Management

Interested in learning more about Jira Work Management? Have questions you want to get answered? Join us for our upcoming live demo where we’ll take you through the essentials of Jira Work Manageme...

1,673 views 4 12
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you