Help

ERROR: "An API key is required to connect to Airtable" in PRODUCTION

Topic Labels: ImportingExporting
848 0
cancel
Showing results for 
Search instead for 
Did you mean: 
Kristyna_Dierst
4 - Data Explorer
4 - Data Explorer

Hello,
I have a website built with ReactJs, Gatsby & deployed to Netlify. Hosting at rebel.ca.
I am sending a very simple data to my Airtable form. Everything works perfectly in development, Netlify builds without any issue, link from Netlify work perfectly. However once I deploy to my domain hosted at rebel.ca, I am getting an error that API key is missing for Airtable (but for example not for Prismic which I am using as well).
You can check netlify deploy here: https://61a3b5aaf233072f7e8c1e05--elated-tesla-b54a59.netlify.app/
And domain here: https://www.oldgear.ca/

There is Newsletter form at the botttom of the home page, once I submit, preview returns OK submission, domain returns Error in console that Airtable API undefined.

I am not sure why this is happening, env variables are saved in UI of Netlify domain setttings and as mentioned other API keys are ok, only the POST request for this Airtable link does not work…

Do you have any idea why this is happening?

Thank you in advance

0 Replies 0