RubenR
Convex Community2y ago
8 replies
Ruben

Getting an error when trying to deploy a convex preview environment

I've followed the following docs 'https://docs.convex.dev/production/hosting/vercel' which work great for the production deploy, but I receive an error when deploying to a preview environment.

I'm using Vercel as a hosting provider and am running the latest versions of convex with node 20.

I'm receiving the following error message:

Running "npx convex deploy --cmd 'npm run build'"
Error fetching POST  https://provision.convex.dev/api/claim_preview_deployment 404 Not Found: ProjectNotFound: The requested project does not exist: https://provision.convex.dev/api/claim_preview_deployment
Error: Command "npx convex deploy --cmd 'npm run build'" exited with 1


The first part of my CONVEX_DEPLOY_KEY environment variable is: preview:[org-name]:[proj-name]|01xyz....

Do you guys know what might be the issue?
Was this page helpful?