How to read an entry
Each entry gives:- Meaning: what happened, in plain language.
- Recoverability: whether the failure can clear on its own, and who needs to act. Each code belongs to one of four classes: Can be temporary, Needs a change, Needs Deployz, or Can’t be retried as is. For what each class means and the line the recovery panel shows for it, see Who needs to act.
- Why it happens and what to do: the usual cause and the next step, with a link to the troubleshooting section for the code when there is one.
How to retry
What “retry” means depends on whether the deployment has ever been installed:- A failed first install: select Retry install on the deployment. Deployz offers it for every code except the Needs Deployz codes, where the dashboard shows the text Contact Deployz support instead. If the Deployz connector is offline, the Retry install dialog asks you to issue a new install link first. Your customer can’t retry a failed install from the install page. See Retry a failed install.
- After a successful install: deploy again with Retry update or Deploy update. See Deploy an update. For a Can be temporary failure on a deployment with a running release, the deployment also returns to its normal status on its own when the connector reports the application healthy again.
What your customer sees
Your customer’s install page shows a short description of the failure. Below it, the page says who needs to act:- For the six application startup codes (
CONTAINER_START_FAILED,IMAGE_HEALTH_CHECK_FAILED,PORT_MISMATCH,MISSING_SECRET,MIGRATION_FAILED, andDATABASE_CONNECTION_FAILED), the page shows Application couldn’t start and “Your software provider must fix this. No action is needed from you.” Below it, the page says your provider will retry the deployment after the fix. - For the other Needs a change codes (
AWS_SCP_BLOCKED,AWS_PERMISSION_DENIED,QUOTA_EXCEEDED,STACK_CREATE_FAILED,STACK_DELETE_FAILED,RDS_AZ_CAPACITY,DATABASE_CREATE_FAILED, andECS_DEPLOYMENT_FAILED), the page says “Make the change described above in your AWS account. Then ask<provider>to retry.” For some of these codes, nothing in your customer’s account needs to change. The entries below say when. - For every other code, the page says “Contact your software provider and ask them to retry the deployment.” It never says Deployz notified you.
Customer AWS account
These failures come from the policies, permissions, or limits of your customer’s AWS account. Your customer makes the change in their account. See Fix install failures.AWS_SCP_BLOCKED
Meaning: A policy in your customer’s AWS organization is blocking the setup.
Recoverability: Needs a change. Your customer acts, then you retry.
Why it happens: A service control policy (SCP), an organization-wide AWS policy, restricts what can be created in this account or Region.
What to do: Ask your customer to allow the Deployz setup in this account, or to use an account without that restriction. Then select Retry install. See An AWS organization policy blocks the setup.
AWS_PERMISSION_DENIED
Meaning: The Deployz connector was refused permission for something this deployment needs.
Recoverability: Needs a change. Your customer acts, then you retry.
Why it happens: The permissions granted when the connector was installed don’t cover this action. A customer policy can also deny it. Technical details names the refused action.
What to do: Ask your customer to check whether a policy in their account denies the action. If the connector is out of date, your customer updates it so it has the current permissions. Then retry. See The connector lacks permission and Reconnect or update the Deployz connector.
QUOTA_EXCEEDED
Meaning: Your customer’s AWS account reached a resource limit during setup.
Recoverability: Needs a change. Your customer acts, then you retry.
Why it happens: The account has reached its maximum for one of the resources the deployment needs. Common limits are Elastic IP addresses, NAT gateways, VPCs, and Fargate vCPUs. Deployz also uses this code when AWS refuses requests because too many were sent in a short time.
What to do: Ask your customer to request a limit increase from AWS, or to free up resources. Then retry. If the reason in Technical details says there were too many requests, wait a few minutes before you retry. See The AWS account reached a limit.
REGION_NOT_SUPPORTED
Meaning: This deployment can’t run in the AWS Region it was created for.
Recoverability: Can’t be retried as is.
Why it happens: Deployz doesn’t support that Region.
What to do: Remove the deployment and create a new one in a supported Region. See The Region is unavailable, AWS Regions, and Remove a deployment.
Setup and removal
STACK_CREATE_FAILED
Meaning: The first setup in your customer’s AWS account didn’t complete.
Recoverability: Needs a change.
Why it happens: One of the resources being created failed, so AWS rolled back the whole setup. Deployz also uses this code when the connector refuses to start the setup, for example when the application template predates the role boundary.
What to do: Open Technical details to find the failed resource and its reason. Resolve the cause with your customer, then select Retry install. Deployz removes the failed resources from the previous attempt before it installs again. See The setup failed and was rolled back.
STACK_DELETE_FAILED
Meaning: Removing this deployment didn’t complete. Your data is safe.
Recoverability: Needs a change.
Why it happens: One of the resources being removed failed, so the removal stopped part of the way through.
What to do: Open Technical details to find the failed resource, then select Retry removal. The database and stored files are kept. See If removal fails.
TEMPLATE_UNAVAILABLE
Meaning: The setup template for this Region couldn’t be fetched.
Recoverability: Needs Deployz.
Why it happens: The template for this Region is missing or can’t be reached from your customer’s account.
What to do: Contact support. Don’t retry until Deployz fixes the template. See The Region is unavailable.
Database and cache
RDS_AZ_CAPACITY
Meaning: AWS couldn’t create the database because it doesn’t have enough capacity in the available Availability Zones.
Recoverability: Needs a change.
Why it happens: The account has enough quota, but the zones where the database would run have no room for a new database server right now. This is an AWS capacity limit, not a permissions or quota problem.
What to do: Wait until the previous attempt has finished rolling back, then select Retry install. If it keeps failing, contact support. Nothing in your customer’s account needs to change, although their install page says that something must change. See AWS has no database capacity.
DATABASE_CREATE_FAILED
Meaning: The database couldn’t be created.
Recoverability: Needs a change. Your customer acts, then you retry.
Why it happens: Your customer’s account rejected the database this application needs. A common cause is an AWS free plan, which accepts fewer days of automated backups than the default of 7.
What to do: If the account is on an AWS free plan, choose a lower Backup retention period on the failed deployment’s page, then select Retry install. Otherwise, ask your customer whether their account limits databases in this Region, for example with a policy or a quota. After they resolve it, retry. See Database creation failed.
DATABASE_CONNECTION_FAILED
Meaning: The application started but couldn’t reach its database.
Recoverability: Can be temporary. If it persists, you change the application.
Why it happens: The connection was refused or timed out. The most common cause is an application that doesn’t read its database settings from the environment variables Deployz provides, or that doesn’t accept an encrypted (TLS) database connection.
What to do: Confirm the application reads its database settings from the environment, then retry. See The application fails to reach its database.
REDIS_PROVISIONING_FAILED
Meaning: The cache this application needs couldn’t be set up.
Recoverability: Needs Deployz.
Why it happens: A limit was reached, or the cache was rejected, in your customer’s AWS account while it was being created.
What to do: Contact support. Your customer can also check their account’s service limits for caches in this Region. On a failed first install, the dashboard shows the text Contact Deployz support instead of Retry install. See Cache setup failed.
REDIS_CONNECTION_FAILED
Meaning: The application started but couldn’t reach its cache.
Recoverability: Can be temporary.
Why it happens: The connection was refused or timed out.
What to do: Retry. If it keeps failing, contact support. See The application fails to reach its cache.
Deployz doesn’t currently report this code. The cache checks in the linked section still apply when an application can’t reach its cache.
Application startup and health
These failures come from the application itself. You fix them. Your customer has nothing to do, and their install page tells them so. See Fix startup and health check failures.CONTAINER_START_FAILED
Meaning: The application started and then stopped.
Recoverability: Needs a change. You act.
Why it happens: The application exited during startup. Common causes are a wrong start command or port, a missing required value, or an error before it began serving requests.
What to do: Check the start command, the port, and the required values, then deploy again. Technical details shows the exit code and the stopped reason. The application’s own logs are in your customer’s AWS account. See The application stops right after it starts.
IMAGE_HEALTH_CHECK_FAILED
Meaning: The application started, but its health check isn’t passing.
Recoverability: Needs a change. You act.
Why it happens: The health check path didn’t return a success response in time. A wrong port also shows up as this code.
What to do: Confirm that the health check path returns HTTP 200 once the application is ready, and that the port matches the one the application listens on. Then deploy again. See The health check fails.
PORT_MISMATCH
Meaning: The application listens on one port, but Deployz sends traffic to another.
Recoverability: Needs a change. You act.
Why it happens: The port configured for the application isn’t the port it binds. Deployz rarely reports this code. A wrong port usually appears as IMAGE_HEALTH_CHECK_FAILED.
What to do: Compare the port on the Configuration screen with the port your application binds, correct it, and deploy again. See The port is wrong.
MISSING_SECRET
Meaning: A required secret has no value for this customer.
Recoverability: Needs a change. You act.
Why it happens: The application needs a secret that isn’t set as a default or as a customer-specific value.
What to do: Set the missing value on the Configuration screen, then deploy again. See A required secret is missing.
MIGRATION_FAILED
Meaning: The database migration step failed, so the new version didn’t start. On a first install nothing was serving yet, so the deployment is failed. On a later release the previous release keeps serving.
Recoverability: Needs a change. You act.
Why it happens: The migration command exited with an error.
What to do: Fix the migration in your repository, create a new release, and deploy it. See The database migration failed and Database migrations.
Rollout
ECS_DEPLOYMENT_FAILED
Meaning: The new version couldn’t be rolled out.
Recoverability: Needs a change. You act.
Why it happens: The updated application didn’t reach a running state, so the rollout stopped. On a deployment that was already running, the previous release keeps serving.
What to do: Open Technical details for the reported error, fix it in a new release, and deploy again. Nothing in your customer’s account needs to change, although their install page says that something must change. See If the update fails.
IMAGE_PULL_FAILED
Meaning: The release’s container image couldn’t be downloaded into your customer’s AWS account.
Recoverability: Needs Deployz.
Why it happens: The container image is missing, or the account isn’t allowed to download it.
What to do: Contact support. The deployment can’t continue until the release can be downloaded again. On a failed first install, the dashboard shows the text Contact Deployz support instead of Retry install.
Deployz connector
See Fix connector problems.RELAY_DISCONNECTED
Meaning: The Deployz connector in your customer’s AWS account stopped checking in, and an operation that was waiting for it timed out.
Recoverability: Can be temporary.
Why it happens: The connector was removed, it lost its credential, or the account can no longer reach Deployz. Operations wait for an offline connector. Deployz reports this code only after the connector has been silent for about a day.
What to do: Ask your customer to update the existing connector stack in their AWS account. After a failed first install, the Retry install dialog asks you to issue a new install link first. If your customer can’t reconnect the connector, contact support. See The connector is offline and Reconnect or update the Deployz connector.
RELAY_STATE_WRITE_FAILED
Meaning: Deployz lost track of an install that was still running in your customer’s AWS account.
Recoverability: Needs Deployz.
Why it happens: The Deployz connector couldn’t save its own progress.
What to do: Contact support. The setup may have finished on its own, so check the deployment’s status first. The dashboard shows the text Contact Deployz support instead of Retry install for this code.
Custom domains
DOMAIN_OPERATION_TIMEOUT
Meaning: A custom domain change didn’t finish in time.
Recoverability: Can be temporary.
Why it happens: The Deployz connector didn’t finish the domain update within the allowed time.
What to do: This code doesn’t fail the deployment, and it doesn’t appear in the recovery panel. The custom domain card can show “We couldn’t connect this domain” instead. Wait for the next automatic check, or select Check now on the card. See A custom domain update timed out.
Application fit and other failures
UNSUPPORTED_ARCHITECTURE
Meaning: This application can’t be deployed as it’s built.
Recoverability: Can’t be retried as is.
Why it happens: The application uses something Deployz doesn’t support.
What to do: Open the application’s Configuration screen for the change it needs, make the change, and create a new release. See What Deployz doesn’t support and The application needs an unsupported capability.
Deployz doesn’t currently report this code. The analysis reports unsupported capabilities before you deploy.
UNKNOWN
Meaning: Something failed, and Deployz couldn’t identify the cause.
Recoverability: Can be temporary.
Why it happens: The Deployz connector reported a failure without a cause Deployz recognizes, or an operation stopped responding and was retried several times without success. A failure recorded with a code that Deployz no longer uses also shows as UNKNOWN.
What to do: Open Technical details for the reported error, then retry. If it keeps failing, remove the deployment and create it again, or contact support. See Contact support for what to include.
