Forum Discussion

brian q.'s avatar
brian q.
Helpful | Level 6
5 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?

 

 

3 Replies

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    5 years ago

    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.

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

    Our multiplart xfer sizes are typically 20-200 GB, would you expect any issues other then tokens?

About Dropbox API Support & Feedback

Node avatar for 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!