ErrorsAll codes

POSTAL_CODE_INVALID_ES

Invalid Spanish postal code: ''{0}''. Must be 5 digits


Category: Customers

Example response

When this error occurs, the API returns a JSON response with the following shape:

{
  "type": "https://docs.beel.es/errors/POSTAL_CODE_INVALID_ES",
  "title": "POSTAL_CODE_INVALID_ES",
  "detail": "Invalid Spanish postal code: ''{0}''. Must be 5 digits",
  "instance": "/v1/<resource>",
  "errors": [],
  "success": false,
  "error": {
    "code": "POSTAL_CODE_INVALID_ES",
    "message": "Invalid Spanish postal code: ''{0}''. Must be 5 digits",
    "details": {}
  },
  "meta": {
    "timestamp": "2026-05-21T10:00:00Z",
    "request_id": "4bf92f3577b34da6a3ce929d0e0e4736"
  }
}

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

Message

Invalid Spanish postal code: ''{0}''. Must be 5 digits
Código postal español inválido: ''{0}''. Debe tener 5 dígitos
Codi postal espanyol invàlid: ''{0}''. Ha de tenir 5 dígits

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

Keep exploring