cannot_archive_last_default_series
The series is the only active one for its document type. Archiving it would leave the company with no numbering available and freeze that kind of document.
| Code | Type | HTTP | Category |
|---|---|---|---|
cannot_archive_last_default_series | invalid_request_error | 422 | Series |
Cause
The series is the only active one for its document type. Archiving it would leave the company with no numbering available and freeze that kind of document.
What to do
Create another series of the same type, make it the default, and archive this one afterwards.
Related
All Series error codes
Causes and actions for errors in this category.
Error codes by category
Find an error by the category that emits it.
Full reference table
All codes, HTTP statuses, types and descriptions in one reference.
Error model
Interpret the error envelope and handle errors by code.