destructive_migration
HTTP 409 · Deploys and migrations (SPEC §6.2, §10, §15.2)
A migration would delete data. Review the changes in details, then deploy again with allowDestructive (–allow-destructive in the CLI).
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": "destructive_migration",
"message": "A migration would delete data. Review the changes in details, then deploy again with allowDestructive (--allow-destructive in the CLI).",
"docsUrl": "https://flatstack.dev/docs/errors/destructive_migration"
}
}
As Markdown: errors/destructive_migration.md