On this page
article
400 - Duplicate Values
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"
]
}
Shipments API 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 Shipments API 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.