Fashionista
Fashionista2y ago

Getting 400 error, I need help asap

No description
2 Replies
erquhart
erquhart2y ago
The error is coming from your convex/env.ts file, you'll want to check there
lee
lee2y ago
It looks like you're calling createEnv at import time. You could try: 1. Move createEnv into a convex function, and call it. This will let you push functions and you should get better logs about which environment variables are missing. 2. Make sure you're setting environment variables in the convex dashboard for the correct deployment (not in .env or .env.local)

Did you find this page helpful?