ErrorsAll codes
LAST_OWNER_PROTECTED
You cannot leave the account without an owner: at least one OWNER must remain.
Category: Accounts
Example response
When this error occurs, the API returns a JSON response with the following 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
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.
GRANT_NOT_FOUND
This member has no access to that company.