Skip to main content
err:unkey:application:deployment_not_awaiting_approval
You called deployments.authorizeDeployment on a deployment that isn’t waiting for approval. You get HTTP 412.
Example response

Likely causes

  • Someone already authorized the deployment.
  • The deployment was cancelled or superseded before it was authorized.
  • The deployment never needed approval. Only deployments from forked pull requests wait for approval.

How to fix

  1. Check the status named in detail, or read it with deployments.getDeployment.
  2. superseded: a newer commit on the same branch replaced it. Authorize the newer deployment instead.
  3. cancelled: push a new commit to create a new deployment.
  4. Any other status: it was already authorized or never needed approval. There’s nothing to do.
Last modified on November 30, 2026