gross_weight_not_allowed
This item cannot carry a gross transport weight: services have no weight, products and variants whose base unit is a mass unit (`KGM`, `GRM`) already weigh their quantity, and a variable-measure presentation is weighed on each line.
| Code | Type | HTTP | Category |
|---|---|---|---|
gross_weight_not_allowed | invalid_request_error | 422 | Products |
Cause
This item cannot carry a gross transport weight: services have no weight, products and variants whose base unit is a mass unit (KGM, GRM) already weigh their quantity, and a variable-measure presentation is weighed on each line.
What to do
Omit gross_weight_kg (or send null) for that item, or change its kind, base unit or presentation mode before setting a weight.
Related
All Products 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.