invalid_cargo_measure
The declared measure of a shipment is not valid: its `type` is not `weight` or `other`, the weight or value is missing or not greater than zero, or the free unit is not between 1 and 30 characters.
| Code | Type | HTTP | Category |
|---|---|---|---|
invalid_cargo_measure | invalid_request_error | 422 | Transport Documents |
Cause
The declared measure of a shipment is not valid: its type is not weight or other, the weight or value is missing or not greater than zero, or the free unit is not between 1 and 30 characters.
What to do
Declare {type: weight, weight_kg} or {type: other, value, unit} (for example 12 palets) with a value greater than zero.
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.