BatchCannotBeCancelledStatusError

Summary

A batch can only be canceled while its state is waiting or processing.

Example

{
  "code": "BatchCannotBeCancelledStatusError",
  "target": "Unknown",
  "details": [
    {
      "code": "BatchCannotBeCancelledStatusError",
      "number": 2504,
      "message": "A batch can only be canceled while its state is waiting or processing.",
      "description": "Batch -0- is in the -1- state and cannot be canceled.",
      "faultCode": "Client",
      "helpLink": "http://developer.avalara.com/avatax/errors/BatchCannotBeCancelledStatusError",
      "severity": "Error"
    }
  ]
}

Explanation

A batch can only be canceled while its state is waiting or processing.