Help

Download an uploaded attachment

Topic Labels: API
3785 2
cancel
Showing results for 
Search instead for 
Did you mean: 
Qasid_Online_Su
4 - Data Explorer
4 - Data Explorer

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 Replies 2
Yawnxyz
5 - Automation Enthusiast
5 - Automation Enthusiast

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

Qasid_Online_Su
4 - Data Explorer
4 - Data Explorer

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