Your workflow is unique 👨💻 - tell us how you use Dropbox here.
Forum Discussion
George M.33
10 years agoNew member | Level 1
SwiftyDropbox: "Client is already authorized"
I am calling setupWithAppKey in application:didFinishLaunching. Seems fine.
Then, I call Dropbox.authorizeFromController from my viewController, and I immediately get this error:
precondition fa...
Leah C.1
10 years agoNew member | Level 1
Did you previously try out the Swift SDK in the simulator? That would explain having entries already in the keychain. I'm not sure why they wouldn't be deleted when resetting the simulator though... that's odd.
You can always use `Dropbox.unlinkClient()` in your code to clear the credentials.
This shouldn't affect running the code on a device or with other users.
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!