Sep 25, 2018 04:39 PM
Using the API to upload PDF files. Every couple days a batch of files uploaded around same time appear as generic document icon and when you attempt to download you get “Found. Redirecting to” message but nothing. If I look at the record and view the attachment array, I see values for Filename (taken from the URL), Id (a valid Airtable Id), and Url (the public URL to the file - link works fine). Size, Thumbnails and Type are all null. On a another file that works, the Size, Thumbnails and Type values are filled out and the Url is changed from what I submitted to a “dl.airtablee.com” There are no error returned from the API call.
Our web server that hosts the files are IIS on an AWS instance. In reviewing the web server logs, I don’t see any request to the server for the “bad” files. For the “good” files I see a request from “Filestack” at the time the API record was created.
I have been trying to “resubmit” the empty file by taking the array of attachments in the record and removing the ID before submitting back to Airtable as an Update (effectively deleting the original attachment since the ID no longer exists in the array and then creating a new attachment). Sometimes this will work, sometimes it won’t. I can try a few times with it failing everytime and then go back a few hours later and it will work on the first try. (At all times the URL being passed is live and available on the internet).
Sep 26, 2018 01:48 PM
I don’t have an answer for you, but I want to compliment you on your thorough and clear description of the problem and what you’ve tried. :slightly_smiling_face:
Oct 01, 2018 03:00 PM
:slightly_smiling_face: Worked directly with Airtable support and they patched our Airtable to fix the issue.
Oct 24, 2021 03:06 PM
If you don’t mind my asking - How does one get them to “patch” the Airtable?