Sometime in the past few days I have not been able to export to CSV from an Airtable embedded in the www.adveritasdx.com website (go to Test Database). There may be some browser dependence - having trouble with Chrome and the latest version of Edge; old version of Edge works. Has there been an update to Airtable recently that would casue this?
Very strange! Iâm on Mac, and it didnât work for me in Chrome either. But it DID work for me in both Safari and Firefox. So, for now, I would probably recommending using Firefox, and then I would send an email to support@airtable.com to see if they can fix this or figure out whatâs going on. Please post back here with what they say!
Thanks ScottWorld. I have sent a note already and they asked me to add a âallow-downloadsâ flag in the embed code of my site. However, I donât think this is it. I have a fried who is a developer and he found this. I am also sending this to AirTable support:
It has everything to do with their server setup. Currently, the download link points to https://airtable.com/v0.3/view/viw0k2zvP10tNlJWU/downloadCsv?x-time-zone=America%2FChicago&x-user-locale=en&x-airtable-application-id=appHWLXC0HLkhziyH&stringifiedObjectParams={âoriginâ%3A"sharedViewEmbed"}&requestId=reqhAActoIsxu6gEg&accessPolicy={âallowedActionsâ%3A[{âmodelClassNameâ%3A"view"%2C"modelIdSelector"%3A"viw0k2zvP10tNlJWU"%2C"action"%3A"readSharedViewData"}%2C{âmodelClassNameâ%3A"view"%2C"modelIdSelector"%3A"viw0k2zvP10tNlJWU"%2C"action"%3A"getMetadataForPrinting"}%2C{âmodelClassNameâ%3A"row"%2C"modelIdSelector"%3A"rows%20*[displayedInView%3Dviw0k2zvP10tNlJWU]"%2C"action"%3A"createBoxDocumentSession"}%2C{âmodelClassNameâ%3A"row"%2C"modelIdSelector"%3A"rows%20*[displayedInView%3Dviw0k2zvP10tNlJWU]"%2C"action"%3A"createDocumentPreviewSession"}%2C{âmodelClassNameâ%3A"view"%2C"modelIdSelector"%3A"viw0k2zvP10tNlJWU"%2C"action"%3A"downloadCsv"}%2C{âmodelClassNameâ%3A"view"%2C"modelIdSelector"%3A"viw0k2zvP10tNlJWU"%2C"action"%3A"downloadICal"}%2C{âmodelClassNameâ%3A"row"%2C"modelIdSelector"%3A"rows%20*[displayedInView%3Dviw0k2zvP10tNlJWU]"%2C"action"%3A"downloadAttachment"}]%2C"shareId"%3A"shrYjnBTfJV3CxoiT"%2C"applicationId"%3A"appHWLXC0HLkhziyH"%2C"sessionId"%3A"sesLI45QtFTlWtPzy"%2C"generationNumber"%3A0%2C"signature"%3A"ecbaf3885419a0a28d402a8cedf2acbf0749ab7681d42193bd32c40c188a3f30"}. When clicking that link, the user is redirected to https://airtable-csv-exports-production.s3.amazonaws.com/2217284f5f129064/Grid%20view.csv?AWSAccessKeyId=AKIAR7KB7OYSMPA2CKCB&Expires=1591796191&Signature=0FqtM3jPTBsbEIM8jx9S%2BrQYRHs%3D. The important thing within this second redirection link is the âExpires=â part. Inside of there is an epoch time that access will expire. What is happening is that when a user loads the page, they may or may not already have an expired token to the download, which makes it so it may or may not give access to the CSV based on whether the expiration time was hit or not. This is the bug you are experiencing. It has everything to do with the generation of that link and the âExpiresâ value that they are using. See the attached images.
Here, 12 minutes later, after a hard refresh of the page, I am still getting a 403 forbidden because the âExpiresâ value has not changed.