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.