Forums

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

Error when accessing confluence APIs via oauth 2. Unauthorized; scope does not match

Deepak Nayak
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 21, 2023

I am using access_token obtained from oauth2 to call the below API:

https://api.atlassian.com/ex/confluence/${cloud_id}/rest/api/2/pages
I get this error: Unauthorized; scope does not match. code: 401.
The oauth has the following scopes:
read:content-details:confluence,read:page:confluence,read:space-details:confluence,read:space:confluence

The user who has authed this app has access to the pages section. I have verified that the cloud_id, access_token is correct.

Can somebody help me with this? Thanks.

 

2 answers

0 votes
Joe Chalhoub December 14, 2023

same issue please help

0 votes
Dylan Thorne
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!
October 15, 2023

Same issue here using the Confluence API. Unfortunately there's no detail on what is not matching.

ARREGUI GARCIA, JAVIER
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!
November 27, 2023

Exactly same issue here, I cannot find why

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events