NewProvince is only required for addresses in Spain
BeeL
Get startedMulti-NIFVeriFactuRulesStripeAPI referenceChangelog
ErrorsAll codes

LAST_OWNER_PROTECTED

You cannot leave the account without an owner: at least one OWNER must remain.


Category: Accounts

HTTP status422 Unprocessable Content
RetryNo

When it happens

The change would leave the account without an OWNER: the last one cannot be demoted or removed.

How to fix it

Hand ownership over to another member first, from the dashboard.

Retry

Do not retry. The outcome is final: sending the same request again gets the same answer.

Example response

When this error occurs, the API answers 422 Unprocessable Content with a JSON body of this shape:

{
  "type": "https://docs.beel.es/errors/LAST_OWNER_PROTECTED",
  "title": "LAST_OWNER_PROTECTED",
  "detail": "You cannot leave the account without an owner: at least one OWNER must remain.",
  "instance": "/v1/<resource>",
  "errors": [],
  "success": false,
  "error": {
    "code": "LAST_OWNER_PROTECTED",
    "message": "You cannot leave the account without an owner: at least one OWNER must remain.",
    "details": {}
  },
  "meta": {
    "timestamp": "2026-05-21T10:00:00Z",
    "request_id": "4bf92f3577b34da6a3ce929d0e0e4736"
  }
}

The type URI is stable and always resolves to this page.

Message

You cannot leave the account without an owner: at least one OWNER must remain.
No puedes dejar la cuenta sin propietario: debe quedar al menos un OWNER.
No pots deixar el compte sense propietari: ha de quedar almenys un OWNER.

Send the request with Accept-Language: <es|en|ca> to receive the message in your preferred language.

Other errors in this category

Keep exploring