Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
qpo
12 months agoNew member | Level 1
AuthError 'invalid_access_token' with Python SDK after Token Refresh
Dear Dropbox Developer Team, I have been using the Dropbox API with your Python SDK for approximately four years without any issues. However, since November 25th or December 1st, I started encounter...
- 12 months ago
I see our messages just crossed, but yes, it sounds like that's the issue. The access tokens can certainly be longer than 255 characters, and you may have only recently started receiving access tokens of that length, so a database limit like that would cause the issue.
Greg-DB
Dropbox Community Moderator
12 months agoIt sounds like your database may be corrupting the access token, causing the subsequent API calls using the retrieved corrupted access tokens to fail. In particular, might your database have a length limit for storing the access tokens, which effectively truncates them?
Note that Dropbox API access tokens can vary in length, and you may have started receiving longer ones, potentially recently exceeding whatever the length limit is for your storage.
There isn't a guaranteed maximum length for Dropbox API access tokens, so make sure you're storing them via a method without a maximum length.
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!