edmarfo
edmarfo3y ago

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
ian
ian3y ago
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.
Indy
Indy3y ago
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.
No description
Indy
Indy3y ago
Go to settings once you're in that environment and get the deploy key from there
edmarfo
edmarfoOP3y ago
Thanks alot Indy i was using Dev one from the dashboard. It works now
Indy
Indy3y ago
Great!

Did you find this page helpful?