The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

API failing with scope missing

Jan Jansen
July 22, 2026

I use a personal access token with scope but the api "Get labels for page" fails with scope is missing. 

 

Selected scopes

  • read:content-details:confluence
  • read:label:confluence
  • read:page:confluence
  • read:custom-content:confluence
  • read:hierarchical-content:confluence
curl --request GET \
--url https://api.atlassian.com/ex/confluence/{id}/wiki/api/v2/page/{id}/labels/ \
--header 'authorization: Basic XXXX'

Result

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

 How to fix it?

Documentation just says `read:page:confluence`.

 

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Tomislav Tobijas
Community Champion
July 22, 2026

@Jan Jansen I've seen people claiming there are some issues with specific scopes so you could try just giving all scopes in order to confirm that you're not missing anything.

Although, as per your last reply:

...I found the issue it was pages and not page. interesting error message...

I'm guessing you've found what the issue (potentially restrictions??) was.

Cheers,
Tobi

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
ENTERPRISE
TAGS
AUG Leaders

Atlassian Community Events