We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
autozoom3125
6 years agoExplorer | Level 4
Authentication tokens keep expiring
I've got some python code that uploads files to my dropbox folder, but I must be doing something wrong, because my authentication tokens keep expiring, despite multiple claims that these tokens shoul...
Greg-DB
Dropbox Community Moderator
6 years agoPreviously, Dropbox API access tokens did not expire, but we have begun moving to a new model of using short-lived access tokens with refresh tokens. You can find more information here.
If you do need long-term access, you should migrate to using "refresh tokens", by requesting "offline" access. Make sure you're using the latest version of the Python SDK. You can find an example of requesting "offline" access here.
About Discuss Dropbox Developer & API
Make connections with 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!