This error code will be returned, for example, if you make an API call to change a shipment state but provide an invalid state value:

  {
  "reference": "sp_00982822462453834198775303766018",
  "state": "not_recognised",
  "reason": "Sample"
}
  

In this example, the provided state value is not a valid state.