johnpolacek
johnpolacek2w ago

AuthenticationFailed: Invalid Convex deploy key

I'm trying to deploy a new project to Vercel, but just can't seem to get past this "Invalid Convex deploy key" error. I've triple checked that my NEXT_PUBLIC_CONVEX_URL and CONVEX_DEPLOY_KEY are correct. I even had them print them in the build log and they are correct. My deploy key says "Never used" I was able to deploy locally with CONVEX_DEPLOY_KEY=your-key npx convex codegen What am I missing?
2 Replies
Convex Bot
Convex Bot2w ago
Thanks for posting in <#1088161997662724167>. Reminder: If you have a Convex Pro account, use the Convex Dashboard to file support tickets. - Provide context: What are you trying to achieve, what is the end-user interaction, what are you seeing? (full error message, command output, etc.) - Use search.convex.dev to search Docs, Stack, and Discord all at once. - Additionally, you can post your questions in the Convex Community's <#1228095053885476985> channel to receive a response from AI. - Avoid tagging staff unless specifically instructed. Thank you!
johnpolacek
johnpolacekOP2w ago
OMG - your copy/paste includes a return at the end (i think) - trim that out please.

Did you find this page helpful?