Error: Invalid or missing API key

Hi Guys,
What am I missing here?

Thanks
Alex

Hey @anikolaibackup! Could you please give some more information on how you and running oTToDev?

Hi @ColeMedin
thanks for replying
I followed the Read me and I try to run oTToDev in Docker
I can open Bolt but my Open Ai Api Key is not being recognized

Rename .env.local to just .env as it says on line 1 of that file.

I did that too but I got the same error

not sure, if renaming it to “.env” will work. it should be “.env.local”.
UPDATE: I was wrong. “.env” works.

If you’re using docker it “should” reload the env file. If not, you certainly need to restart bolt (npm run dev)and refresh the browser.

1 Like