We're making changes to the Community, so you may have received some notifications - thanks for your patience and welcome back. Learn more here.
Forum Discussion
bszt123
6 months agoHelpful | Level 5
Refresh Token expired
Hello,
We are issuing and using refresh tokens in our service according to the reference documentation below :
Solved: Oauth2 refresh token question - what happens when ... - Dropbox Community (dropboxforum.com)
We understand that the refresh token should not expire, but it seems to expire after some time.
AuthError('a68526c2f28846df81b4e4290cc0567f', AuthError('expired_access_token', None))
AuthError('731de6b9ff3b4d828e2c538493dbc3fb', AuthError('expired_access_token', None))
AuthError('bf5090b1abe545daa7a2db4395cc4e0d', AuthError('expired_access_token', None))
AuthError('72dec5890f1a4fa8912c058127cb581d', AuthError('expired_access_token', None))
AuthError('10bdfac6098247088d1684a7af1761c7', AuthError('expired_access_token', None))
AuthError('9ad81d2298104e63b5aa1e70de5a9fe4', AuthError('expired_access_token', None))
AuthError('57ac76c52e71491594bac208f8e239ca', AuthError('expired_access_token', None))
We would like to verify if we are issuing the tokens correctly.
Thank you.
- ЗдравкоLegendary | Level 20
Hm.. 🤔 As seems, somebody needs new glasses. As far as I can see, messages are about expired access token, not about expired refresh token. 🤷 Who knows... bszt123 can you take a look again? You likely don't need glasses (not new at least). 😉
Good luck.
- Greg-DBDropbox Staff
bszt123 Здравко is correct; this error is referring to the access token being expired, not the refresh token. When you get this 'expired_access_token' error, you should use the refresh token to get a new access token. If you're using a Dropbox SDK, the SDK will do this for you automatically, as long as you supplied the necessary credentials (e.g., app key, app secret (if not using PKCE), and refresh token).
For more information on how the authorization process works, please refer to the following resources:
About Discuss Dropbox Developer & API
Make connections with other developers
795 PostsLatest Activity: 4 days 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!