403 Forbidden: BadAdminKey
I'm also getting 403 Forbidden: BadAdminKey: The provided admin key was invalid for this instance but ive generated and added the deploy key on the convex dashboard
5 Replies
Hey there! Just checking, when you created the deploy key, you then added it as an environment variable in Vercel? https://docs.convex.dev/using/hosting/vercel
Using Convex with Vercel | Convex Developer Hub
Host your frontend on Vercel and your backend on Convex.
Hi @edmarfo Convex has two deployment environments for each project: Prod and Dev. Make sure you're looking at the right one from the environment switcher on the left pane.

Go to settings once you're in that environment and get the deploy key from there
Thanks alot Indy i was using Dev one from the dashboard. It works now
Great!