Forum Discussion

rajul_texas's avatar
rajul_texas
Explorer | Level 3
9 years ago
Solved

How to clearStoredAccessToken for tokens that fail migration?

I am using DBClientsManager::checkAndPerformV1TokenMigration to migrate myDropbox Objective-C API v1 access tokens toDropbox Objective-C API v2.   As a part of the error handling if a token fails...
  • Greg-DB's avatar
    9 years ago
    You don't need to clear old tokens that failed to migrate. There's no harm in having them stored. (The clearStoredAccessToken method would only clear tokens for the current SDK, not the old ones, anyway.)

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.

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!