Take Your Search Game to the Next Level with Dropbox Dash 🚀✨ Curious how it works? Ask us here!
Forum Discussion
Ruslan Shastkiv
3 months agoNew member | Level 1
Need help with file uploads to Dropbox for a charity website
Dear Dropbox, I am working on a small website representing my charity organization, and I need to upload documents such as reports and other files to a static folder on Dropbox. These files should b...
Rich
Super User II
3 months agoRuslan Shastkiv wrote:I have encountered an issue where my access token frequently expires.
Long-lived tokens were deprecated back in 2021 and can no longer be created. You now use refresh tokens to retrieve new short-lived tokens as needed. See here for more information:
Ruslan Shastkiv wrote:Ensure that the access token does not expire frequently, or suggest an alternative solution for continuous file access.
Apps can still get long-term access by requesting "offline" access though, in which case the app receives a "refresh token" that can be used to retrieve new short-lived access tokens as needed, without further manual user intervention. Refresh tokens do not expire automatically and can be used repeatedly. You can find more information in the OAuth Guide and authorization documentation. There's a basic outline of processing this flow in this blog post which may serve as a useful example.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,994 PostsLatest Activity: 6 hours ago
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 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!