Hi, I recently ran a script to pull updated changes to our airtable into our application and all the urls to attachments changed. I looked it up and saw that this was to make them invalid after 2 hours. We were using them to point to images on our site so this means a big change in our workflow as we will now have to download the images from the API rather than pointing to them in airtable. We wanted to opt out of the change for now and schedule the work closer to Feb. We opted out in settings and I ran the script to pull the data and get the non-expiring urls. They are still showing in the browser as expired. I have re-run the script and the urls don't change. Does anyone know what is going on?
Opting out of expiring urls is only good for a few more weeks. I don't know if it is worthwhile at this late stage.
You state that your non-expiring urls do not work. How are you trying to use the urls, and what actually is happening? Can you explain how you got the urls (csv export, copying a cell value, scripting, automation, etc.)? What is the format of the url, such as the domain name and whether or not there is a filename at the end. Depending on how you got the url, you might have a "viewer" url that requires being logged into Airtable, or you might still have an expiring url.
using airtable's API endpoint url, my API key to fetch data from my base to my wordpress site using wp_safe_remote_get().
and what actually is happening? Can you explain how you got the urls (csv export, copying a cell value, scripting, automation, etc.)? What is the format of the url, such as the domain name and whether or not there is a filename at the end.
I receive the data in .json format, which I pass through json_decod() in order to access the values in PHP. I've included a screen shot of one record. you can see the url format there.
This format is the old non-expiring ones, when I "re-hit the API" they changed to this: I was using the urls to point to an image (basically using airtable to host our websites images), with the new urls, I will have to download the images into my project to be served locally