521 - Carrier Service Not Found
Tip
The carrier_service_not_found
error code will be returned when an attempt is made to allocate a shipment
with a specific carrier service, but the carrier service does not exist or could not be found.
For example, if your account contains the following carrier services:
Reference | Description |
---|---|
DFD_ND_01 | DFD Next Day Service |
UPQ_48 | UPQ 48 Hour Service |
PEG_LL | Pegasus Light and Large |
Any request to allocate with a specific carrier service that is not in this list will result in an error code of carrier_service_not_found
.
PUT /pro/shipments/sp_00980781386890476031324735930383/allocate/service/UPQ_99
This request will fail because there is no carrier service with a reference of UPQ_99
.
Note
This error code is likely to be returned with an HTTP status of 521
with a parent error code of allocation_failed
.