ROUTE_FAILED

What it means. The app was built but could not be given an address.

What to do. Re-run deploy. The build is cached, so this is fast.

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

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

{
  "ok": false,
  "code": "ROUTE_FAILED",
  "message": "The app was built but could not be given an address.",
  "fix": "Re-run deploy. The build is cached, so this is fast.",
  "file": "<where to edit, when known>",
  "retryable": true,
  "docs": "https://docs.uarpie.app/errors/ROUTE_FAILED"
}

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