BatchCannotBeCancelledStatusError
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

This error indicates that you attempted to cancel a batch that was not in a proper state. A batch can only be canceled while its state is waiting or processing.