LAST_OWNER_PROTECTED
You cannot leave the account without an owner: at least one OWNER must remain.
Category: Accounts
| HTTP status | 422 Unprocessable Content |
| Retry | No |
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
Send the request with Accept-Language: <es|en|ca> to receive the message in your preferred language.
Other errors in this category
CLAIM_TOKEN_EMAIL_REQUIRED
The account has no holder yet: send the email of the person who will claim it.
CLAIM_TOKEN_HOLDER_MISMATCH
That account already has a holder with a different email. Omit the field to re-issue the link to them.
DISPLAY_NAME_BLANK
The account name must not be blank.
GRANT_ACCESS_LEVEL_INVALID
A grant's access level must be VIEW or OPERATE. To remove access to a company, omit it from the set.
GRANT_COMPANY_NOT_IN_ACCOUNT
One of the specified companies does not belong to this account.