Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
dbmt
2 years agoNew member | Level 2
Cannot refresh short-lived access tokens, node.js
I have a web-app that processes images and uploads them to a single dropbox folder (My account). I have an App for my web app in dropbox and I am successfully able to upload images to said folder. ...
Greg-DB
Dropbox Community Moderator
2 years agodbmt As Здравко indicated, you would need a refresh token to maintain long-term unattended access.
Dropbox issues short-lived access tokens, which expire after a few hours, and optional refresh tokens, which don't expire. Apps can get long-term access by requesting "offline" access, 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.
The official Dropbox SDKs can also handle the refresh process for you automatically. If you're using one of the official Dropbox SDKs, refer to its corresponding documentation and examples for information on how to use it.
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!