One month down in 2025: How are your resolutions coming along? Check out how to get back on track here.
Forum Discussion
sunilgeechoo
3 years agoExplorer | Level 3
Expired Access Token
Hi,
We are creating app and generating token by clicking on Generate button, it is always getting expired and we need to generate new one. we are creating app in app console (https://www.dropbox.com/developers/apps) and generated tokens always starts with "sl."
- ЗдравкоLegendary | Level 20
Hi sunilgeechoo,
Using long lived access token is deprecated and creation of new is already dropped. That's why you're getting short lived token only. Alternative for long term access is refresh token. You have to adapt your application to use such token type. For possible way of refresh token creation, take a look on https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Issue-in-generating-access-token/td-p/592667.
Hope this helps.
- sunilgeechooExplorer | Level 3
Hi,
Do i need to create tokens every time after it get expired? We are using it for display images and files in our application. Each time should we create new tokens?
- ЗдравкоLegendary | Level 20
No, refresh token doesn't expire itself. It's long lived and can only be revoked by the application or by user on demand.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,950 PostsLatest Activity: 4 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!