We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here.
Forum Discussion
phunction
3 years agoExplorer | Level 4
Refresh Token Simulate
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:
- the name and version number of the platform and SDK/library you are using, if any
- the steps to reproduce the issue, including relevant code snippet(s), but don't include any access or refresh token(s)
- the full text of any error or unexpected output
- Greg-DBDropbox Staff
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:
- the name and version number of the platform and SDK/library you are using, if any
- the steps to reproduce the issue, including relevant code snippet(s), but don't include any access or refresh token(s)
- the full text of any error or unexpected output
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,877 PostsLatest Activity: 12 months agoIf 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 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!