Show / Hide Table of Contents

    400 - Duplicate Values

    • v2
    • validation
    • pro
    • api
    • shipments
    • error
    • 400
    Tip

    The error code duplicate_values will be returned if a list that should contain unique properties includes 2 or more duplicate values.

    This error code would be returned, for example, you made a collection note query request and provided the same state value more than once:

    {
      "shipment_states": [
        "manifested",
        "manifested"
      ]
    }
    
    Note

    SortedPRO will not implicitly correct input data errors such as this. It might be possible to automatically remove duplicate values, but there is no way for SortedPRO to know if your intention when calling the API was to provide a single value or to provide 2 different values. This will therefore be considered an error.

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