transport_document_cannot_be_edited
Only a draft transport document can be edited or partially updated; this one is already issued, closed, cancelled or superseded.
| Code | Type | HTTP | Category |
|---|---|---|---|
transport_document_cannot_be_edited | invalid_request_error | 422 | Transport Documents |
Cause
Only a draft transport document can be edited or partially updated; this one is already issued, closed, cancelled or superseded.
What to do
To change an issued document use POST /v1/transport_documents/{id}/modify with a reason and the data origin; closed documents must be reopened first.
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.