Show / Hide Table of Contents

    400 - Invalid Hazard Class

    • v2
    • validation
    • pro
    • api
    • shipments
    • error
    • 400
    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.

    Back to top Copyright © Sorted Group 2023. Generated by DocFX