Dan MercerD
Convex Community10mo ago
2 replies
Dan Mercer

Prod deploy mysteriously failing with 400 Bad Request: UnexpectedAuthHeaderFormat

I was able to successfully deploy my project on Vercel when I last changed it on 5 Mar 2025, but I made a frontend change today (no Convex changes) and the convex deploy step is now failing with this error:

400 Bad Request: UnexpectedAuthHeaderFormat: Unexpected auth header format. If you are trying to use preview deployments, please generate a new key in the Convex dashboard.


I generated a new deploy key (and noticed that this new one had a different format, e.g. it was shorter - interesting) and updated my CONVEX_DEPLOY_KEY env variable in Vercel, but still no dice. Any other tips?
Was this page helpful?