Skip to main content
err:unkey:application:deployment_not_in_progress
You asked to cancel 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 preview deployment offline, use deployments.stopDeployment instead.
  3. If it already ended, there is nothing to do.
Last modified on October 19, 2026