You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.
Forum Discussion
gvillasboas
3 years agoExplorer | Level 3
missing_scope on CreateSharedLinkWithSettingsAsync C#
- ЗдравкоLegendary | 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.
- tahsiniDropbox 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.
5,885 PostsLatest Activity: 28 minutes agoIf 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 or Facebook.
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!