Forum Discussion

Joan M.4's avatar
Joan M.4
New member | Level 1
11 years ago

I'm saving a file url by using dropin api, after a while that url starts to give 401?

Are file urls that given from dropin buttons has lifespan? or something else is happening?

3 Replies

Replies have been turned off for this discussion
  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    11 years ago

    Which Drop-in are you using? (The Chooser or Saver?)

    The "direct" links from the Chooser do expire after four hours, if that's what you're referring to.

    Otherwise, please post some more details, e.g., a sample request/response.

  • Joan M.4's avatar
    Joan M.4
    New member | Level 1
    11 years ago

    Yes, i use Chooser. That means i have to take files to my host when selected...

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

    The direct link type for the Chooser is good for four hours, so if you need to download the content, you'll need to do so within that window. If you need longer-lived links, you can use the preview link type. (Those don't offer direct file access by default, but can be modified as necessary.)

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!