ErrorsAll codes
DEFAULT_CANNOT_DELETE
Cannot delete the default series. Set another series as default first
Category: Account settings
Example response
When this error occurs, the API returns a JSON response with the following shape:
{
"type": "https://docs.beel.es/errors/DEFAULT_CANNOT_DELETE",
"title": "DEFAULT_CANNOT_DELETE",
"detail": "Cannot delete the default series. Set another series as default first",
"instance": "/v1/<resource>",
"errors": [],
"success": false,
"error": {
"code": "DEFAULT_CANNOT_DELETE",
"message": "Cannot delete the default series. Set another 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 delete the default series. Set another series as default first
No se puede eliminar la serie predeterminada. Establece otra serie como predeterminada primero
No es pot eliminar la sèrie predeterminada. Estableix una altra sèrie com a predeterminada primer
Send the request with Accept-Language: <es|en|ca> to receive the message in your preferred language.
Other errors in this category
ACTIVE_CANNOT_DELETE
Cannot delete an active series. Deactivate it first
DEFAULT_CANNOT_DEACTIVATE
Cannot deactivate the default series. Set another series as default first
HAS_INVOICES_CANNOT_DELETE
Cannot delete a series that has associated invoices. Delete the invoices first
INACTIVE_CANNOT_BE_DEFAULT
Cannot set an inactive series as default
SERIES_CODE_DUPLICATED
A series with code ''{0}'' already exists in environment {1}. Choose a different code or delete the existing series before creating a new one.