We Want to Hear From You! What Do You Want to See on the Community? Tell us here!

Forum Discussion

omersk's avatar
omersk
New member | Level 2
6 years ago

Dropbox revoke my access token without being requested to do so

Hi,

Im doing a project using dropbox api on python and I need to use access token for it, the problem is that everytime I create an access token, he get revoked after aboud day....

It's freaking me...

Can I do something to cancel it?

1 Reply

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    6 years ago
    By default, Dropbox API access tokens for your app(s) don't expire by themselves, but there a number of different ways that a Dropbox API access token can become invalid, including:
    • the user can revoke all access tokens for an app by unlinking it on the connected apps page
    • any client with the access token can revoke the access token by calling /2/auth/token/revoke
    • the Github-Dropbox token scanning partnership can revoke access tokens found publicly posted on GitHub
    • if the app uses the "app folder" permission, the access token can effectively be disabled by deleting the app folder itself in the Dropbox account, either via the Dropbox website or any client
    • the app can be disabled
    • the account that owns the app can be disabled
    • the connected account can be disabled
    If the Dropbox API isn't behaving as expected for your app or account, feel free to contact support by opening an API ticket here.

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.6,036 PostsLatest Activity: 9 months ago
411 Following

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!