We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
GRP2
7 years agoNew member | Level 2
access token expired
Hi! My acess token sometimes expire them self.
I generate it in App console, by clicking generate button. I use acess token only for aceesing files - dowload and get_temporary_link. Also I use Drop...
Greg-DB
Dropbox Community Moderator
7 years agoBy 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:
- 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
- if the app uses the "app folder" permission, the token can be disabled by the user 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
You can check on activity in your account itself on the Dropbox web site. Dropbox doesn't offer API logs for checking API activity though.
- grp37 years agoExplorer | Level 4
Hi, Greg! It's me, but new name
Thanks for your reply! None of these cases did not happened with my account.
I use free account, and maybe there are some limitations like download traffic limit that could affect token. I am just at a loss. And it is unclear if it will be fixed after upgrading to Plus plan.
- Greg-DB7 years ago
Dropbox Community Moderator
It sounds like you're referring to the shared link bandwidth limits, documented here. That's unrelated to access token validity.
Also, changing from free to paid won't affect access token validity.
If you believe something isn't working as expected on the API, please feel free to open a ticket.
- Здравко7 years agoLegendary | Level 20
Are you sure you didn't create access token in one of your account and try use it on another one? :thinking: You are using two different accounts in fact (content is different, even when matching)!
Hope this gives the right direction. :wink:
- grp37 years agoExplorer | Level 4
What do you mean, Здравко? How can I use token in another account? I send only path to file and token, there is no info what account I use.
About Discuss Dropbox Developer & API
Make connections with 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!