We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
Chris T.21
11 years agoNew member | Level 1
"Generated access token" constantly disappearing after some time
Hello there,
I developed a personal php web app which accesses my personal dropbox every minute and checks for new images in a folder, fetches them via the PHP api and deletes the image(s) in the d...
Greg-DB
Dropbox Community Moderator
11 years agoFirst, to clarify, when you say the access token is "gone", do you mean that it is just no longer displayed on the App Console, or that your API calls using it start failing?
The former is expected, e.g., if you leave or refresh the page. The generated access token is only displayed to you when it is generated. It doesn't get revoked by itself though, e.g., when leaving the page.
If you mean that your API calls start failing, on the other hand, note Dropbox API access tokens don't automatically expire, but there are a few ways they can be revoked:
- by the user via https://www.dropbox.com/account/security
- by the user deleting the app folder (if the app uses the app folder permission)
- by the app calling /disable_access_token ( https://www.dropbox.com/developers/core/docs#disable-token )
Do any of those apply? If your API calls are unexpectedly failing, can you supply a sample request/response?
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
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, Facebook or Instagram.
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!