MIGRATE_FAILED
What it means. The database migration failed.
What to do. Open log_url, fix the failing migration, then re-run deploy. The previous version is still live.
- HTTP status: 422
- Retryable after applying the fix: yes
Every failure from the CLI or an MCP tool has this shape:
{
"ok": false,
"code": "MIGRATE_FAILED",
"message": "The database migration failed.",
"fix": "Open log_url, fix the failing migration, then re-run deploy. The previous version is still live.",
"file": "<where to edit, when known>",
"retryable": true,
"docs": "https://docs.uarpie.app/errors/MIGRATE_FAILED"
}
Apply fix (edit file when it is given), then run the same command again.