Welcome to the Airtable Community! If you're new here, check out our Getting Started area to get the most out of your community experience.

Dotenv file not loading variables into process.env.MY_ID_HERE (React Project)

Topic Labels: Custom extensions
694 0
Showing results for 
Search instead for 
Did you mean: 

I have my .env file with my variables, its in my src folder, I have my YOUR_ID_HERE, YOUR_BASE_ID and that in it.
BUT, when I use “process.env.MY_VAR_HERE”, it gives me a a error:

“Airtable requires a api key” … I already generated one,
I know its the dotenv file, because when I switch the vars in the field for the raw api code… it works. so its the dotenv file that’s not loading.

0 Replies 0