Your workflow is unique 👨💻 - tell us how you use Dropbox here.
Forum Discussion
Cory A.
10 years agoNew member | Level 1
Using previously acquired OAuth2 token with the Java SDK
I'm trying to get a list of folders in a users account to present as a list of choices to upload a photo to. I already have a manually built OAuth2 flow working to allow a user to link their Dropbox...
Greg-DB
Dropbox Community Moderator
10 years agoDropbox 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 )
If none of these apply to your scenario, it's possible the access token string is getting altered somehow on your side. Have you tried logging out the access token both where it does work (i.e., when you first get it and use it with the HTTP API) and later when it doesn't work (i.e., when you try to use it with the Java SDK)?
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!