# X_JOB_NOT_REMOVABLE

## Means

the job is running and cannot be removed

## Typical cause

x jobs delete, remove() or removeMany() was asked for a job a worker holds. Deleting the row under a running body does not stop the body — its next step write and its settle would land on nothing — so the job is cancelled first and removed once it has stopped

## Fix

`x jobs cancel <id> --json`

[Jobs](/error-codes#jobs)
