err:unkey:application:deployment_not_in_progressdeployments.cancelDeployment on a deployment that already finished. You get HTTP 412.
Example response
Likely causes
- The deployment finished building and is
ready. - The deployment failed, or someone already cancelled it.
- A newer deployment superseded it.
How to fix
- Read the deployment with
deployments.getDeploymentand check itsstatus. - To take a
readydeployment offline, usedeployments.stopDeployment. The live production deployment can’t be stopped; to undo it, roll back withdeployments.rollbackDeployment. - If it already ended, there is nothing to do.
Related errors
err:unkey:application:deployment_not_running: the stop counterpart, for deployments that are not running.err:unkey:data:deployment_not_found: the deployment does not exist, or your root key cannot write to it.