On this page
article
400 - Invalid Carrier Service
The error code
invalid_carrier_service is returned when an attempt is made to use a carrier service but the provided reference is not valid.This error code will be returned, for example, if you make an attempt to allocate a shipment with a specific carrier service but the reference provided does not identify a valid carrier service.
For example:
POST /shipments/sp_00982822462435387454701594214408/allocate/service/MY_REF
In this example, if the reference MY_REF does not identify an existing carrier service, the request will be rejected with an invalid_carrier_service response.