On this page
article
400 - Date In Past
The error code
date_in_past is used when a date value is provided for a property such as required_delivery_date but the date is in the past.The date_in_past error code will not be applicable to all date properties, but will be returned when the value of a date property is used in logic such as determining which carrier service(s) are able to deliver a shipment.
For example, if today is 20th December 2021, and the following JSON is provided:
{
"requested_delivery_date": {
"start": "1990-10-01T00:00:00+00:00",
"end": "1990-10-01T23:59:59+00:00"
}
}
This will result in a date_in_past error because it is not possible to book a shipment for delivery in the past.