Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
ravikiranreddy
3 years agoExplorer | Level 4
Upload a file to dropbox dynamically with a refreshed access token
I was in the process of uploading a file to Dropbox using a Golang application. However, after a certain period, the access token expired, leading to an unsuccessful upload of the file.
To ensure the file is consistently uploaded with a valid token, it's crucial to establish a mechanism that checks the token's validity in real-time and handles expiration. If the token is identified as expired, it needs to be dynamically refreshed without requiring manual intervention.
My query is: Does Dropbox offer an API that enables automatic and dynamic access token refreshing, eliminating the need for manual intervention?
ravikiranreddy You can also find more information on this at the following locations:
3 Replies
- Здравко3 years agoLegendary | Level 20
Hi ravikiranreddy,
Yes, you need refresh token that can be used to programmatically get access token without further user interaction. Take a look here how can be done.
Hope this helps.
- Greg-DB3 years ago
Dropbox Community Moderator
ravikiranreddy You can also find more information on this at the following locations:
- ravikiranreddy3 years agoExplorer | Level 4
Thanks you Greg
using-oauth-2-0-with-offline-access helped me to implement refresh tokens offline without manual intervention.
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!