wjarjoui
wjarjoui15mo ago

Failing preview deployments

I generated a new preview CONVEX_DEPLOY_KEY and added it to vercel, the preview deployments started failing with
✖ Error: Unable to run schema validation on https://fund-frontend.convex.cloud
✖ Error: Unable to run schema validation on https://fund-frontend.convex.cloud
Note that fund-frontend is the name of the project, I'd normally expect a convex-generated name as the sublevel domain there.
4 Replies
sshader
sshader15mo ago
Hi would you mind sharing any other surrounding logs (or potentially re-running with --dry-run in your build command). You're right that we should have something like tall-animal-123 instead of the project name there. Ah actually, I have a theory -- is it possible that your preview deployment is running an older convex version (anything before 1.5)? There were some updates to the CLI in 1.5 that are needed for Convex preview deployments to work
wjarjoui
wjarjouiOP15mo ago
gosh yes that's it, I need to upgrade convex 🤦‍♂️ will try and let you know any backward-compatibility issues with 1.1.1?
jamwt
jamwt15mo ago
@wjarjoui shouldn't be! all 1.x should be compatible
wjarjoui
wjarjouiOP15mo ago
all set, thank you!

Did you find this page helpful?