400 - Invalid Hazard Class
Tip
The invalid_hazard_class
error code will be returned if you provide an invalid value for the hazard_class
property of dangerous_goods
.
This error code will be returned, for example, if you provide an unrecognised or invalid value when creating a shipment
:
{
"dangerous_goods": {
"hazard_class": [
{
"code": "invalid"
}
]
}
}
Note
The valid values for hazard_class
depend on the IATA standards. Sorted supports full and partial codes such as 2.3
(a toxic gas) or 3
(a flammable liquid). Review the IATA standards for more information.