Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
Robert S.138
10 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. ...
Robert S.138
10 years agoHelpful | Level 7
Maybe it is the way I faked the invalid token. Instead of passing a real, but invalidated token, I passed
"Z" + validToken
to the "new DbxClientV2(requestConfig, DBaccessToken);" API call. So it has one more letter than the real token. And the message with that exception is "OAuth2 token is mal-formed". I'll bet that's it.
About 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!