You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.

Forum Discussion

jjsk's avatar
jjsk
Helpful | Level 5
3 years ago

App authorization drops out after inactive period?

Hi

 

I noticed that some subset of my users' authorizations become invalid after some time and I do not believe that the users explicitly revoke my Application access.     Is it possible that the authorization is revoked after the application folder has been idle/without modifications for some time (e.g. after a year or two)?   If that is the case, is there any way to prevent this from happening?   Note that I'm not talking about short lived access tokens here (which are marked as "token expired" error - these are addressed with refresh tokens and work fine).   What I'm seeing is a more permanent failure ("invalid token").    These users have static files in the app folder for read access by the application.  

 

 

As a workaround I'm sending an email to users once a year or so and ask them to re-authorize the app.. But there is probably a better way to handle that.

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox Staff
    By default, Dropbox API authorizations for your app don't become invalid and yield 'invalid_access_token' by themselves, but there a number of different ways that a Dropbox API access token can become invalid, including:
    • jjsk's avatar
      jjsk
      Helpful | Level 5

      Thank you for the info.   Does the user account itself become inactive after a while?  Lets say a user signed up for the app, authorized the folder with some content (in my case they are sound samples)  and then logged off and never logged back in...    Would user's inactivity at the dropbox site eventually put them in some sort of a dormant or archived state?   I can't think of a likely reason for losing access from the ones you listed above..    thanks.

      • Greg-DB's avatar
        Greg-DB
        Icon for Dropbox Staff rankDropbox Staff

        Yes, inactive accounts may be automatically disabled after a long period of time. You can find information on that here.

         

        It sounds like your app uses "app folder" access though, so it may be likely that some users are accidentally deleting the app folder, since that can be done from any connected client or the web site.

         

        In any case, if the Dropbox API doesn't appear to be working as expected, feel free to contact support by opening an API ticket with some samples and we can look into it.

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

5,910 PostsLatest Activity: 3 days ago
333 Following

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!