err:unkey:application:deployment_not_readyExample response
Likely causes
- The deployment is still building. The message is
The deployment is not ready. - The deployment failed to build or never passed its health checks. Same message.
- The deployment is shutting down. The message is
The deployment is shutting down and cannot serve traffic.
How to fix
- Read the deployment with
deployments.getDeployment. Ifpromoteorrollbackisn’t in itsavailableActions, the call will fail. - If it’s still building, wait for
statusto reachready. - If it failed, fix the build and deploy again.
- If it’s shutting down, promote a different deployment.
Related errors
err:unkey:application:deployment_not_production: the deployment is in a preview environment.err:unkey:application:deployment_no_current: the app has no current deployment yet.err:unkey:application:deployment_is_current: the deployment is already live.err:unkey:data:deployment_not_found: the deployment id doesn’t exist in this workspace.