# Accounts errors

All error codes returned by the Accounts endpoints (21 total).

Every error returned by the **Accounts** endpoints. Click any code for the full example response and localized messages.

| Code | Message |
|------|---------|
| [`CLAIM_TOKEN_EMAIL_REQUIRED`](/errors/CLAIM_TOKEN_EMAIL_REQUIRED) | The account has no holder yet: send the email of the person who will claim it. |
| [`CLAIM_TOKEN_HOLDER_MISMATCH`](/errors/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`](/errors/DISPLAY_NAME_BLANK) | The account name must not be blank. |
| [`GRANT_ACCESS_LEVEL_INVALID`](/errors/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`](/errors/GRANT_COMPANY_NOT_IN_ACCOUNT) | One of the specified companies does not belong to this account. |
| [`GRANT_NOT_FOUND`](/errors/GRANT_NOT_FOUND) | This member has no access to that company. |
| [`GRANTS_ONLY_FOR_MEMBER`](/errors/GRANTS_ONLY_FOR_MEMBER) | Per-company access can only be granted to members with the MEMBER role. |
| [`INVITATION_NOT_FOUND`](/errors/INVITATION_NOT_FOUND) | No invitation with that id in this account. |
| [`LAST_OWNER_PROTECTED`](/errors/LAST_OWNER_PROTECTED) | You cannot leave the account without an owner: at least one OWNER must remain. |
| [`MEMBER_ALREADY_IN_ACCOUNT`](/errors/MEMBER_ALREADY_IN_ACCOUNT) | That person is already a member of the account. |
| [`MEMBER_NOT_FOUND`](/errors/MEMBER_NOT_FOUND) | No such member in this account. |
| [`OWNER_ROLE_NOT_ASSIGNABLE`](/errors/OWNER_ROLE_NOT_ASSIGNABLE) | The OWNER role cannot be assigned: account ownership is only handed over through transfer-ownership. |
| [`PENDING_INVITATION_NOT_FOUND`](/errors/PENDING_INVITATION_NOT_FOUND) | No pending invitation with that id in this account. |
| [`PROVISIONING_ACCOUNT_CLAIMED`](/errors/PROVISIONING_ACCOUNT_CLAIMED) | The holder has already claimed that account and it is now theirs: there is nothing left to claim, and only they can grant you further access from their account. |
| [`PROVISIONING_ACCOUNT_NOT_ACCESSIBLE`](/errors/PROVISIONING_ACCOUNT_NOT_ACCESSIBLE) | That account is not managed by your organisation. |
| [`PROVISIONING_EMAIL_ALREADY_REGISTERED`](/errors/PROVISIONING_EMAIL_ALREADY_REGISTERED) | That email is already registered with BeeL. Use a different email, or ask the owner to grant you access from their account. |
| [`PROVISIONING_EMAIL_REQUIRED`](/errors/PROVISIONING_EMAIL_REQUIRED) | With send_email set to true you must send email: without it there is nobody to send the link to. |
| [`PROVISIONING_EXTERNAL_REF_CONFLICT`](/errors/PROVISIONING_EXTERNAL_REF_CONFLICT) | An account with that external reference already exists; retry the request and the existing account will be returned. |
| [`PROVISIONING_INVALID_CURSOR`](/errors/PROVISIONING_INVALID_CURSOR) | The pagination cursor is not valid: use the next_cursor from the previous page. |
| [`PROVISIONING_TAX_PROFILE_REQUIRED`](/errors/PROVISIONING_TAX_PROFILE_REQUIRED) | With access_level OPERATE you must send tax_profile: invoicing on the account's behalf needs its NIF. |
| [`TRANSFER_TARGET_ALREADY_OWNER`](/errors/TRANSFER_TARGET_ALREADY_OWNER) | That member is already an owner; ownership cannot be transferred to them. |

## Keep exploring

<div className="grid grid-cols-2 gap-3 not-prose">
  <Card title="Error reference home" description="Landing page with all categories and a guide on handling errors." href="/errors" />
  <Card title="Handling errors" description="Response shape, the type URI, and programmatic patterns." href="/guides/handling-errors" />
</div>

---

Full OpenAPI spec: https://docs.beel.es/api/openapi