521 - Carrier Service Shipment Mismatch
Tip
The error code carrier_service_shipment_mismatch
is returned when you attempt to allocate an on_demand
shipment
with a scheduled
carrier service, or to allocate a scheduled
shipment
with an on_demand
carrier service.
There are currently 2 types of shipment
in SortedPRO:
scheduled
- theseshipments
relate to a pre-booked or pre-existing collection of multipleshipments
from a single location. The carrier has a schedule of collections.on_demand
- theseshipments
relate to booking a carrier collection on-demand; there is no pre-existing or pre-booked collection.
As these types of operation differ, the carrier services that are compatible with each type of shipment
also differ. It is not possible to allocate an on_demand
shipment
to a scheduled
carrier service, or to allocate a scheduled
shipment
to an on_demand
carrier service.
Note
This error code is likely to be returned as a child error of an allocation_failed
response.