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.