migration_failed
HTTP 422 · Deploys and migrations (SPEC §6.2, §10, §15.2)
A migration failed, so the database was left as it was. See details for the statement and error.
Does retrying help?
Not as it is. Change the request as the message says, then send it again.
The response
Every Flatstack error has this shape. details, when present, says more about this case.
{
"error": {
"code": "migration_failed",
"message": "A migration failed, so the database was left as it was. See details for the statement and error.",
"docsUrl": "https://flatstack.dev/docs/errors/migration_failed"
}
}
As Markdown: errors/migration_failed.md