ENGINE_CONVERSION_REQUIRED

What it means. This app uses a database engine the platform does not host.

What to do. Postgres is the platform database. Convert the data layer to Postgres (keep the ORM, change the provider/dialect and any engine-specific SQL), then re-run deploy. If you must keep SQLite, no change is needed: it will run on the stateful tier.

  • HTTP status: 422
  • Retryable after applying the fix: yes

Every failure from the CLI or an MCP tool has this shape:

{
  "ok": false,
  "code": "ENGINE_CONVERSION_REQUIRED",
  "message": "This app uses a database engine the platform does not host.",
  "fix": "Postgres is the platform database. Convert the data layer to Postgres (keep the ORM, change the provider/dialect and any engine-specific SQL), then re-run deploy. If you must keep SQLite, no change is needed: it will run on the stateful tier.",
  "file": "<where to edit, when known>",
  "retryable": true,
  "docs": "https://docs.uarpie.app/errors/ENGINE_CONVERSION_REQUIRED"
}

Apply fix (edit file when it is given), then run the same command again.