Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
Hi, I am trying to test handling refresh tokens, but my machine never seems to get the expired token error but clients are.
Is there a way to force the dropbox token to expire or a test server that will let me manually expire tokens, etc for testing?
There isn't a way to force a short-lived access token to expire ahead of schedule, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though. So, to test the actual 'expired_access_token' error for any particular short-lived access token, you would need to wait until it expires. (And for reference, you can identify short-lived access tokens by the "sl." prefix. If it does not start with "sl.", it is not a short-lived access token.)
In any case, I'll be happy to help with any issues you're having with the Dropbox API if something isn't working as expected, but I'll need some more information. If so, please share:
There isn't a way to force a short-lived access token to expire ahead of schedule, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though. So, to test the actual 'expired_access_token' error for any particular short-lived access token, you would need to wait until it expires. (And for reference, you can identify short-lived access tokens by the "sl." prefix. If it does not start with "sl.", it is not a short-lived access token.)
In any case, I'll be happy to help with any issues you're having with the Dropbox API if something isn't working as expected, but I'll need some more information. If so, please share:
Hi there!
If you need more help you can view your support options (expected response time for a 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!