err:unkey:application:deployment_is_currentExample response
Likely causes
- You rolled back to the deployment that’s already current. That’s always rejected, because there’s nothing to change.
- You promoted the deployment that’s already current. The one exception: after a rollback, promoting the current deployment confirms the rollback and is allowed.
How to fix
- Check which deployment is current with
apps.getAppordeployments.listDeploymentsbefore you promote. - If you meant to redeploy, use
deployments.createDeploymentinstead.
Related errors
err:unkey:application:deployment_no_current: the app has no current deployment.err:unkey:application:deployment_not_ready: the target isn’t ready.