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

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.

1 Like

This topic was solved and automatically closed 15 days after the last reply. New replies are no longer allowed.