Forums

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

Getting 401 error on calling /rest/api/2/search via oauth

Abhijit Deshpande March 14, 2024

Hi Team,

We have created a client app in developer console and provided required classic and granular scope for the above API version 2. Till 12th March things were working fine for more than 2 years. Now we started getting below error. Looks like something changed at Atlassian end which we are not able to figure out. Strange thing is when I try to use authorization code the API is not complaining but when I use the Access token then it gives me the below error

 

{"code":401,"message":"Unauthorized; scope does not match"}

API we are trying to use

 

The Jira Cloud platform REST API (atlassian.com)

Thanks,

Gajanan

1 answer

1 accepted

1 vote
Answer accepted
Sunny Ape
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 14, 2024

Hello @Abhijit Deshpande 

You probably have a poorly formed request path / URL. Support for lenient URL path processing for OAuth 2.0 requests was recently removed.

Please see the removal notice and the deprecation notice for more details.

Abhijit Deshpande March 14, 2024

Yeah it worked after removing the /

Like KAI HUA CHE likes this

Suggest an answer

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

Atlassian Community Events