We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
victorTm90
3 years agoExplorer | Level 3
Getting shared Link: Problem with permissions.
Hello everyone!
I have developed an API for uploading files and generating links for downloading them. However, I am encountering an issue when trying to obtain a shared link.
The problem is that...
victorTm90
3 years agoExplorer | Level 3
Hi Greg,
You were right, I hadn’t restarted the access token after changing the scope. Like you said, the required scope was ‘sharing.read’. However, the error persists, and I don’t know how to proceed in order to solve it. Do you have any idea what I can do? Thank you, and sorry about the late reply.
Best,
Víctor
Greg-DB
Dropbox Community Moderator
3 years agoIf you're still getting a 'missing_scope' error, that means that the particular access token you're using to call that endpoint is not authorized with the scope needed for that particular endpoint.
Note that enabling the scope on the app itself does not grant that scope to preexisting access tokens (or refresh tokens). Likewise, if you have a preexisting refresh token, using that to get another access token will still not produce an access token with that additional scope granted; it can only produce access tokens with scopes originally granted to that refresh token.
To get an access token with that scope, you'll need to authorize the app again, with that scope enabled. That is, you'll need to process the OAuth app authorization flow again (or use the "Generate" button again if you just need a short-lived access token for your own account).
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!