Hi all,
I have a number of scenarios which create a sharelink from Dropbox and then upload that document to Airtable.
Up until a few days ago the share link that was being created looked like this:
https://www.dropbox.com/s/XXXXXX/FileName.pdf?dl=1
I could then use the replace function (as per the make documentation) to change the link to:
https://dl.dropbox.com/s/XXXXXX/FileName.pdf
However in the last two days it appears the output link has changed to:
https://www.dropbox.com/scl/fi/XXXXXX/FileName.pdf?dl=1&rlkey=XXXXX
Which has broken my automation and has stopped the file being able to be uploaded to Airtable.
Has anyone come across this issue and if so is there a workaround to get the same output as previously?
Thank you in advance!
Hi Theo,
Generally, we could see similar issues with other apps too - say FreshWorks. This is totally unexpected, and the issue is on the application’s side.
I recommend you do a validation to check if the share link contains ?dl or not. Accordingly, proceed in the scenario.
MSquare Support
Visit us here
Youtube Channel
1 Like
Looking at the Dropbox API, it seems that the sharelink URL format isn’t defined … in which case they could change it at any time.
If the XXXXXX
portion is always the same length, then you could instead use a Regex to extract that from any given sharelink. You’d be looking for the .../XXXXXX/FielName.pdf...
sequence and extracting the XXXXXX
.
Do you think that would work?
If so, let us know if you need any help with the Regex!
you need simple regax string to apply on url and extract desired link you want
ex: https://www.dropbox.com/scl/fi/(\w+)/(.+)?.*