When attempting to cancel a job, the cancel command is not accepted by the Automation Engine.
'Cancel' is not supported under all statuses within Automic. If a job is not in one of the required states for cancel to work when requested, the operation will fail.
This is a list of statuses that cancel is supported with:
1550 - Active
1551 - Transferring
1540 - Start initiated
1544 - Inconsistent
1545 - Started
1546 - Connecting
1554 - Sampling files
1561 - STOP - Client-wide stop of automatic processing.
1563 - STOP - Automatic processing has been stopped.
1572 - Generating
1574 - Post processing
1576 - Regenerating
1578 - Scanning Files
1579 - Scanning reports
1685 - Waiting for post-process host
1686 - Waiting for start of host-group container.
1687 - Waiting for end of parallel host-group tasks
1688 - Waiting for the host of an AgentGroup.
1689 - Waiting for resource (max. FileTransfers exceeded)
1693 - Waiting for manual release
1694 - Waiting for resource (max. Jobs exceeded)
1696 - Waiting for host
1697 - Waiting for SYNC
1698 - Waiting for start time
1709 - Waiting for end of parallel task(s)