cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
We're back with another cheat sheet to make your 2022 easier than ever! Check out our tips 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: 

Direct Media Link are expiring...

Direct Media Link are expiring...

camg55
New member | Level 2

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! 

4 Replies 4

Re: Direct Media Link are expiring...

Greg-DB
Dropboxer

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.)

Re: Direct Media Link are expiring...

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...

 

Re: Direct Media Link are expiring...

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

Re: Direct Media Link are expiring...

Greg-DB
Dropboxer

@sahir I don't have anything to add on the Dropbox side. The Dropbox API still offers both of these pieces of functionality, so it would be up to Zapier to update their implementation.

Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropboxer
  • User avatar
    sahir New member | Level 2
  • User avatar
    camg55 New member | Level 2
What do Dropbox user levels mean?
Need more support?