Skip to main content
err:unkey:application:deployment_not_in_progress
You called deployments.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

  1. Read the deployment with deployments.getDeployment and check its status.
  2. To take a ready deployment offline, use deployments.stopDeployment. The live production deployment can’t be stopped; to undo it, roll back with deployments.rollbackDeployment.
  3. If it already ended, there is nothing to do.
Last modified on November 30, 2026