ErrorsAll codes
PROVINCE_MAX_LENGTH
Province cannot exceed {0} characters
Category: Customers
Example response
When this error occurs, the API returns a JSON response with the following shape:
{
"type": "https://docs.beel.es/errors/PROVINCE_MAX_LENGTH",
"title": "PROVINCE_MAX_LENGTH",
"detail": "Province cannot exceed {0} characters",
"instance": "/v1/<resource>",
"errors": [],
"success": false,
"error": {
"code": "PROVINCE_MAX_LENGTH",
"message": "Province cannot exceed {0} characters",
"details": {}
},
"meta": {
"timestamp": "2026-05-21T10:00:00Z",
"request_id": "4bf92f3577b34da6a3ce929d0e0e4736"
}
}The type URI is stable and always resolves to this page.
Message
Province cannot exceed {0} characters
La provincia no puede superar {0} caracteres
La província no pot superar {0} caràcters
Send the request with Accept-Language: <es|en|ca> to receive the message in your preferred language.
Tokens like
{0}are runtime arguments — the backend fills them with actual values before responding.
Other errors in this category
ALTERNATIVE_ID_INVALID
The alternative identifier is not valid
ALTERNATIVE_ID_INVALID
Type NOT_REGISTERED (07) is only valid for Spain; received country: ''{0}''
ALTERNATIVE_ID_INVALID
For customers with country ES only types PASSPORT (03) or NOT_REGISTERED (07) are allowed
CITY_EMPTY
City cannot be empty
CITY_MAX_LENGTH
City cannot exceed {0} characters