Take Your Search Game to the Next Level with Dropbox Dash 🚀✨ Curious how it works? Ask us here!
Forum Discussion
alekso89
21 days agoHelpful | Level 5
FileStack <-> Dropbox for uploading files - Token Expired?
Hi there!
I noticed a strange behavior of the application that I created on the Dropbox side.
Everyday I have to generate a new token so that my files can be uploaded to Dropbox using FileStack file picker. Otherwise, I get an error on the FileStack side, which disappears after this procedure with the resave of the old token to the new one.
FileStack support told me that Dropbox does not support the endless life of tokens for applications.
Is this true?
alekso89 wrote:
FileStack support told me that Dropbox does not support the endless life of tokens for applications. Is this true?
Yes, it is.
Dropbox is no longer offering the option for creating new long-lived access tokens. Dropbox is now issuing short-lived access tokens (and optional refresh tokens) instead of long-lived access tokens. You can find more information on this migration here.
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.
2 Replies
Sort By
- alekso8921 days agoHelpful | Level 5
Thank you!
- Rich21 days ago
Super User II
alekso89 wrote:
FileStack support told me that Dropbox does not support the endless life of tokens for applications. Is this true?
Yes, it is.
Dropbox is no longer offering the option for creating new long-lived access tokens. Dropbox is now issuing short-lived access tokens (and optional refresh tokens) instead of long-lived access tokens. You can find more information on this migration here.
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.6,012 PostsLatest Activity: 39 minutes ago
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 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!