Skip to content

account_locked

HTTP 402 · Account state (SPEC §3.3)

Payment failed, so this project is read-only. Update the card in billing to restore writes.

Does retrying help?

Not until something else changes. The message says what: a plan, an add-on, a setting or a role. The same request then works.

The response

Every Flatstack error has this shape. details, when present, says more about this case.

{
  "error": {
    "code": "account_locked",
    "message": "Payment failed, so this project is read-only. Update the card in billing to restore writes.",
    "docsUrl": "https://flatstack.dev/docs/errors/account_locked"
  }
}

All error codes

As Markdown: errors/account_locked.md