Download an uploaded attachment


#1

Hi
I have a field that contains attachments that were uploaded via the an airtable form.
I am created an front-end that connects to this table via API. The data is all returned and I can see the data for the uploaded attachment that has filename,id,size,type,url
however, the url returned does not play/download the file. The same link when opened inside the airtable works fine.
Are there restrictions on accessing these files?


#2

I think it’s just broken either on their API or somewhere— the “download attachment” button in the native app doesn’t even work right now on their app. But it does work on their web app, so download a file and inspect the AWS download link to figure out how the file is stored on the cloud


#3

Thanks for your reply. It worked by using XMLHttpRequest and then creating a Blob from the response