Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
gvillasboas
4 years agoExplorer | Level 3
missing_scope on CreateSharedLinkWithSettingsAsync C#
2 Replies
Replies have been turned off for this discussion
- Здравко4 years agoLegendary | Level 20
Hi gvillasboas,
When the error message is "missing_scope", most probably the required scope is really missing. Is it so or not? 🤔 Do you have "sharing.write" scope within your scopes set declared for the application?
And something else: Why you are trying to use obsolete method in your code?! Despite such methods still work, they can get dropped at any time. Even more, why you are getting the same link twice? 🧐 I can't see a reason.
Hope this helps.
- tahsini4 years ago
Dropbox Staff
The 'missing_scope' error indicates that the app does not have the particular scope enabled for the app. Please check that you have the required scopes enabled on the permissions tab of the App console. Based on your code the correct scopes for CreateSharedLinkWithSettings requires sharing.write.
Also, be aware that just adding a scope to your app via the App Console does not retroactively grant that scope to existing access tokens. That being the case, to make any API calls that require that scope, you'll need to get a new access token with that scope.
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!