Hi!
I’m trying to get a list of sections and have setup my app per the docs here: Get sections in a project
However, my server responds with this error message:
message: ‘One of the following scopes must be present to use this endpoint: default’,
help: ‘For more information on API status codes and how to handle them, read the docs on errors: Errors’
Looks like the API no longer supports adding the default scope. Also I could not find more information at the provided link for errors.
Then I scoured the internet and AI tools to try and find the answers, but still couldn’t. 
Any guidance would be greatly appreciated. Thanks!
Hi,
You’re using OAuth?
If you’re using OAuth, you should add the scope needed to use the endpoint to your app. (should be listed in documentation or in the error).
If a scope is not available for that endpoint (probably the case here), you’ll need to opt out of scopes and use Full permissions. There is a toggle for this at the top of the OAuth > Permission Scopes section.
Once you choose Full permissions, you can select the default scope (which is full access). Your app will no longer be scoped.
Hope that helps.
1 Like
Hi John,
Thanks so much — that did the trick!
I enabled Full permissions in the OAuth settings as you suggested, and I also updated my OAuth URL to remove the scope query parameter entirely. After that, I was able to access the /sections endpoint without any issues.
Appreciate your help. I had been spinning my wheels on this one for a while!
Best,
Andrew
1 Like