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
App4G
4 years agoHelpful | Level 6
How to access the missing_scope Error Messages that gets returned
There are 2 issues I would like to get some clarity on. Environment: Xcode 12 / IOS 14.4 / SwiftyDropbox I want to download a file from a shared scoped dropbox Folder. Previously I did not enable t...
- 4 years ago
1: Here's an example of how you can drill down into this kind of error:
switch callError as CallError { case .authError(let authError, let userMessage, let errorSummary, let requestId): switch authError { case .missingScope(let tokenScopeError): print("Missing scope error: \(tokenScopeError)") print("The required scope is: \(tokenScopeError.requiredScope)") default: print("other AuthError omitted for brevity of example") } default: print("other CallError omitted for brevity of example") }
2: No, there's just the authorization flow as documented here.
Greg-DB
Dropbox Staff
1: Here's an example of how you can drill down into this kind of error:
switch callError as CallError {
case .authError(let authError, let userMessage, let errorSummary, let requestId):
switch authError {
case .missingScope(let tokenScopeError):
print("Missing scope error: \(tokenScopeError)")
print("The required scope is: \(tokenScopeError.requiredScope)")
default:
print("other AuthError omitted for brevity of example")
}
default:
print("other CallError omitted for brevity of example")
}
2: No, there's just the authorization flow as documented here.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,915 PostsLatest Activity: 5 hours 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!