invalid_gross_weight
The gross transport weight is not a number, is zero or negative, has more than 4 decimals or exceeds the column ceiling. On a goods line of a transport control document, also when the quantity times the weight per unit gives a line weight that rounds to 0 kg or exceeds that ceiling.
| Code | Type | HTTP | Category |
|---|---|---|---|
invalid_gross_weight | invalid_request_error | 422 | Products |
Cause
The gross transport weight is not a number, is zero or negative, has more than 4 decimals or exceeds the column ceiling. On a goods line of a transport control document, also when the quantity times the weight per unit gives a line weight that rounds to 0 kg or exceeds that ceiling.
What to do
Send gross_weight_kg as a positive number in kg with up to 4 decimals, or null to clear it. On a transport control document, fix the quantity or the weight per unit of the line named in param.