Unable to push deployment config to ...
Hi all. I just started having this issue about 2 hours ago. The Live Site is working with no issues, but the dev side will not update config. Says OPEN_API_KEY not defined but it is and has been for last 20 days. I though I might have broke something after not being able to figure it out, so i stashed and pulled in the live version (production) and its doing the same thing.
so i created a component to test OpenAI connection
and added a function to the openai.ts file in convex folder
All is good except thats its not.
npx convex dev
is spamming
and npm run dev
is giving error
the last error is because i cannot update config (convex). The only thing that changed was i upgraded to pro from free.
Am i missing something?1 Reply
Did your dev backend change when you updated to pro? Is it a new project? You can check your dashboard's environment variables separately for dev & prod.
You can get there with
npx convex dashboard
and you can set it there or via npx convex env set OPENAI_API_KEY ...yourvalue