Forum Discussion

camg55's avatar
camg55
New member | Level 2
5 years ago

Direct Media Link are expiring...

Hey Community. 

 

Quick context: I'm pulling a file from a Jot Form to Airtable to Dropbox via Zapier. The last part of my Zap is dropping a "direct media link" in airtable as a URL lnk field that can be accessed later without killing stoage limits... 

 

Anyways, everything was working perfectly, until I tried to access the download link the next day, aka, the "direct media link" it said:

 

"{"error": "The link has expired."}

 

I looked at my link sharing settings, and there is no expiry on any of the links... so i'm a bit stumped. 

 

I like the "direct media link" because it's a clean way and direct way for people accessing the airtable to download the file we save without drawing adding a another step going to dropbox, and for that matter showing we're using dropbox. 

 

Does anyone know how to make these not expire? does anyone know why they are expiring? is there any work around? Any help would be superhelpful! 

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

    Based on the description and output here, it sounds like this integration is using the /2/files/get_temporary_link endpoint. The links from this endpoint are supposed to expire, and are only meant for temporary use.

     

    If you need non-temporary links, you should use shared links instead, which an app can get via /2/sharing/create_shared_link_with_settings. That's a change the developer of the app would need to make though (which seems to be Zapier, in this case), so you may want to ask them to do so. (These links can be modified for "direct" access, if needed.)

    • camg55's avatar
      camg55
      New member | Level 2

      Hey Greg, 

       

      Intesting... yeah, that makes sense. 

       

      What's annoying about it, is for some reason Zapier gives me a short link, so I can't edit what it has within it after I drop it in airtable via a formula... I've reached out to zapier, to see if they can do something, but in a perfect world i'd just force download it with a formuma on my own...

       

      • sahir's avatar
        sahir
        New member | Level 2

        Same issue here.. I have tickets open with both Zapier and Dropbox. Any luck with this?

         

        Exactly the same conclusion they give a short link so cant append it. I hope zapier does something

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,947 PostsLatest Activity: 7 minutes ago
351 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!