Your workflow is unique 👨💻 - tell us how you use Dropbox here.
Forum Discussion
Robert S.138
9 years agoHelpful | Level 7
Catching invalid access token exceptions
In the Android Core API v2 SDK, when a Dropbox access token becomes invalid, I want to catch that exception and null out my copy of the access token so the linking authorization will be done again. ...
Greg-DB
Dropbox Community Moderator
9 years agoInvalidAccessTokenException does get thrown for me when calling listFolder with an invalid access token. (Both catching InvalidAccessTokenException and using instanceof work as expected in my test.)
Can you share your code that reproduces this? What version of the SDK do you have installed?
Also, please print and share the stack trace for the exception you do get. Thanks in advance!
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!