NewProvince is only required for addresses in Spain
BeeL
Get startedMulti-NIFVeriFactuRulesStripeAPI referenceChangelog
ErrorsAll codes

SERIES_TYPE_CHANGE_LEAVES_TYPE_UNCOVERED

Cannot change the type of this series: it is the default for ‹value›, and that type still has other active series that would be left without a default. Set another ‹value› series as default first


Example response

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

{
  "type": "https://docs.beel.es/errors/SERIES_TYPE_CHANGE_LEAVES_TYPE_UNCOVERED",
  "title": "SERIES_TYPE_CHANGE_LEAVES_TYPE_UNCOVERED",
  "detail": "Cannot change the type of this series: it is the default for ‹value›, and that type still has other active series that would be left without a default. Set another ‹value› series as default first",
  "instance": "/v1/<resource>",
  "errors": [],
  "success": false,
  "error": {
    "code": "SERIES_TYPE_CHANGE_LEAVES_TYPE_UNCOVERED",
    "message": "Cannot change the type of this series: it is the default for ‹value›, and that type still has other active series that would be left without a default. Set another ‹value› series as default first",
    "details": {}
  },
  "meta": {
    "timestamp": "2026-05-21T10:00:00Z",
    "request_id": "4bf92f3577b34da6a3ce929d0e0e4736"
  }
}

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

Message

Cannot change the type of this series: it is the default for ‹value›, and that type still has other active series that would be left without a default. Set another ‹value› series as default first
No se puede cambiar el tipo de esta serie: es la predeterminada de ‹value› y ese tipo conserva otras series activas, que se quedarían sin ninguna predeterminada. Marca antes otra serie de ‹value› como predeterminada
No es pot canviar el tipus d'aquesta sèrie: és la predeterminada de ‹value› i aquest tipus conserva altres sèries actives, que es quedarien sense cap predeterminada. Marca abans una altra sèrie de ‹value› com a predeterminada

Send the request with Accept-Language: <es|en|ca> to receive the message in your preferred language.

Placeholders like ‹value› are filled in at runtime with the actual values of your request.

Other errors in this category

Keep exploring