Discuss Dropbox Developer & API
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?
Hi @cherrys ,
The only thing you can do when refresh token expires is your application A to behave like never have been linking. In other words, start OAuth flow anew. 😉 That's it.
Hope this helps.
@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.
Hi there!
If you need more help you can view your support options (expected response time for a 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!