transport_document_cannot_be_closed
Only an issued transport document can be closed; this one is a draft, already closed, cancelled or superseded.
| Code | Type | HTTP | Category |
|---|---|---|---|
transport_document_cannot_be_closed | invalid_request_error | 422 | Transport Documents |
Cause
Only an issued transport document can be closed; this one is a draft, already closed, cancelled or superseded.
What to do
Check status with GET /v1/transport_documents/{id}: a draft must be issued first, and a terminal document needs no closing.
Related
All Transport Documents 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.