X
Xata2mo ago
AD Amorim

Vercel integration is not setting the XATA_BRANCH

errors: [ { message: 'database branch [...:preview-nativedone-chore] not found', status: 404 } ], requestId: '98359d30-6eb2-9c6b-810b-54730a0e3956',
No description
3 Replies
AD Amorim
AD Amorim2mo ago
I have already uninstalled and installed again but the error persists.
tsg
tsg2mo ago
hi, could you check the comment message from the Xata bot on the PR? It might include some hint on why it failed.
kostas
kostas5w ago
Hi, the XATA_BRANCH is not set because in Vercel it is automatically "inferred" with the Vercel integration (the XATA_PREVIEW env var is set to "preview"). With this setting, Xata's PR-Based Workflow automatically detects the Xata preview-* branch associated with the PR and uses that in Vercel's preview environment. For your other environments, you'd need to set the XATA_BRANCH env var.
Want results from more Discord servers?
Add your server