Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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,459,917
Community Members
 
Community Events
176
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

Atlassian Community Events