I'm building an app that uses 3-legged OAuth (3LO) to publish meeting notes from my web app to Confluence Cloud. I successfully obtained access tokens via the authorization flow.
However, when I try to call:
`GET https://api.atlassian.com/ex/confluence/{cloudId}/wiki/api/v2/spaces`
I get the following error:
code 401
message Unauthorized; scope does not match
I made sure to request these scopes during login:
read:confluence-space.summary
read:page:confluence
write:page:confluence
And I confirmed the client ID, redirect URI, and cloudId are correct.
Do I need additional scopes? Or is there something I need to configure in the Atlassian Developer Console?
Thanks!
Hi @aqi-bagus !
Hi, I recommend checking the scopes again. Also try to add read:confluence-content.all
I recommend checking this article:
https://developer.atlassian.com/cloud/confluence/scopes-for-oauth-2-3LO-and-forge-apps/
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.