err:unkey:application:deployment_not_stoppedExample response
Likely causes
- The deployment is already running.
- The deployment is still building.
- The deployment failed.
How to fix
- Read the deployment with
deployments.getDeployment.startis in itsavailableActionsonly when the call would succeed. - If it’s already running, there’s nothing to do.
- If it never became ready, create a new deployment instead.
Related errors
err:unkey:application:deployment_is_production: production deployments can’t be started directly.err:unkey:application:deployment_not_running: the mirror case on stop.err:unkey:application:precondition_failed: the workspace is paused at its spend limit, which also blocks start.