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
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...
Robert S.138
9 years agoHelpful | Level 7
In the emulator I selected a different device, which causes the iOS to reboot. Then the error went away. So perhaps the exception was a side-effect of stoping the app with Xcode and starting it up again. But that leads me to wonder if there aren't some scenarios in real devices where something like this happens and an inconsistency is generated. In that case I would like to know what addition steps I can take when starting an OAuth to ensure this exception will not occur. I cannot use the presence or absence of a stored Access Token, but my data state might be inconsistent with the Dropbox system and I might not have a stored Access Token even though the SDK thinks I should have one.
**** Edit: I tried rebooting the emulator and the exception in OAuth remains. There is something persistent in the iOS the remembers there was a successful authorization, but it has nothing to do with my app. I just saw [DropboxClientsManager unlinkClients]; in the example app. Will this do it, and is it safe and reasonable to call this every time, just before authorizeFromController, even if there is no existing authorized client?
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,917 PostsLatest Activity: 48 minutes ago
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 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!