One month down in 2025: How are your resolutions coming along? Check out how to get back on track here.
Forum Discussion
cherrys
4 years agoNew member | Level 2
refresh_token not work when user delete app floder
Hello, we have a problem using the dropbox feature. I call the /oauth2/authorize interface to authorize the user and use /oauth2/token to obtain the user's access_token and refresh_token. In this case, a folder corresponding to the app is created in the Dropbox directory, for example, folder A. Subsequent files uploaded by users are uploaded to folder A. After the access_token expires, refresh_token is used in our project to obtain a new access_token. This process is normal. However, in the following scenarios, if a user deletes the A folder created based on our app, the access_token in the app expires immediately. I use refresh_token to refresh the new access_token, but it is also in the expired state. This has led to problems with our business processes. What should we do when a user deletes an app folder?
- Greg-DB
Dropbox Staff
cherrys Здравко is correct; a user deleting the app's app folder is similar to them disconnecting the app, such as via the "Connected apps" page. The app should prompt them to re-authorize the app to connect to their Dropbox account if they want to continue using the integration.
About Discuss Dropbox Developer & API
Make connections with other developers803 PostsLatest Activity: 23 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!