Forum Discussion

brian q.'s avatar
brian q.
Helpful | Level 6
4 years ago

download/upload and short term tokens

In large file (multiplart) uploads, will we have to deal with refresh tokens as well, or not?

 

 

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox Staff

    Any endpoint using "User Authentication" (or "Team Authentication") does require an access token. That includes both the download and the "upload session" endpoints, for uploading large files. The access token can be either a legacy long-lived access token, or a short-lived access token.

     

    So, if you're using a short-lived access token to call any of those endpoints and get back an 'expired_access_token' error, that indicates that that short-lived access token has expired, in which case you'll need to get a new one and retry the call with the new short-lived access token.

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,941 PostsLatest Activity: 2 hours ago
350 Following

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!