ved07
ved076mo ago

✖ Failed to authorize ... configured in CONVEX_DEPLOYMENT, run `npx convex dev` to configure

I get: ✖ Failed to authorize "polite-parrot-32" configured in CONVEX_DEPLOYMENT, run npx convex dev to configure a Convex project, upon running a command npx convex env get CLERK_SECRET_KEY
2 Replies
ved07
ved07OP6mo ago
For context, since I realised this is pretty unclear. I am running
npx convex env get *API KEY NAME*
npx convex env get *API KEY NAME*
, and get the above error, along with 'bad admin key' when I run the debugger, I would greatly appreciate any help
ian
ian6mo ago
where are you running this from? npx convex env determines its auth from either your home directory ~/.convex/config.json or CONVEX_DEPLOY_KEY when doing something from CI / Vercel / etc. if you're running some debugger that's in a VM or docker container, I wonder if you could mount in your convex key, or set an env var with the right value in that container

Did you find this page helpful?