cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Want to know what we learned at IBC? Check out our learnings on media, remote working and more right here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

API access token expired

API access token expired

Emron
New member | Level 2
Go to solution

Hi,

i am using some of the http api endpoints to upload or download files. As i saw in the documentation the API access tokens never expire but can only be revoked. For some reason after i use my token for a day or so i get the message "expired_access_token". Then i need to create a new one. Of course i never revoked it manually or from the api.

I have another account where there i don't have any issue. My token is still working after many months. I followed the same process to create both of them but still they are different. The token for my old account is 64 characters long but the new one is 139 and always starts with "sl.".

Am i doing something wrong? Did anything change on how Dropbox is producing access tokens? Thanks in advance for any help.

11 Replies 11

AlexStudio
New member | Level 2

Same proplem with Generate access token via  AppConsole

https://dropbox.tech/developers/generate-an-access-token-for-your-own-account

Greg-DB
Dropbox Staff

@AlexStudio Yes, the "Generate" button now also produces short-lived access tokens. If you need a refresh token, use the OAuth app authorization flow. Check out the links in my previous message for information on that.

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
  • User avatar
    AlexStudio New member | Level 2
  • User avatar
    SerenityNow New member | Level 2
  • User avatar
    edou123 New member | Level 2
What do Dropbox user levels mean?