Your workflow is unique 👨💻 - tell us how you use Dropbox here.
Forum Discussion
Robert S.138
9 years agoHelpful | Level 7
iOS Exception: "Dropbox client already authorized"
While developing my code for using the new Objective-C SDK, I am running on the Xcode emulator. The first time I tried OAuth, it worked and brought up the Dropbox login web page. NSLog verified tha...
Greg-DB
Dropbox Community Moderator
9 years agoHi Robert, that assertion is actually easy enough to hit if you call authorizeFromController more than once (if you do link an account the first time). The DropboxClientsManager class is meant as a convenience for the standard single account case, so you can use the following to check if you're already linked:
if ([DropboxClientsManager authorizedClient] != nil) {
// already linked, use authorizedClient to make API calls
That's the same thing the SDK checks for that assertion, and it's set by checking the SDK's own access token storage, so you shouldn't have to worry about inconsistency there. (If you're doing your own access token storage for some reason though, you should just construct DropboxClient objects directly.)
About Dropbox API Support and Feedback
Get help with the Dropbox API from fellow developers and experts.
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!