> ## Documentation Index
> Fetch the complete documentation index at: https://deployz.dev/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Troubleshooting

> Find the cause of a problem by its symptom or failure code, and see who needs to act.

Start here when something goes wrong. Find your symptom in the table, or open the stage where the problem happened. If you have a failure code, look it up in [Failure codes](https://deployz.dev/docs/reference/failure-codes.md).

## Find your symptom

| Symptom | Where to look |
| - | - |
| The application shows **Analysis failed** | [Analysis failed](https://deployz.dev/docs/troubleshooting/analysis.md#analysis-failed) |
| The analysis shows "Taking longer than usual" | [The analysis is taking longer than usual](https://deployz.dev/docs/troubleshooting/analysis.md#the-analysis-is-taking-longer-than-usual) |
| The application shows **Needs input** | [The application needs input](https://deployz.dev/docs/troubleshooting/analysis.md#the-application-needs-input) |
| The **Overview** shows **Not supported by Deployz** | [The application needs an unsupported capability](https://deployz.dev/docs/troubleshooting/analysis.md#the-application-needs-an-unsupported-capability) |
| A blocker comes from something your application doesn't use in production | [Mark a blocker as not used in production](https://deployz.dev/docs/prepare/analysis.md#mark-a-blocker-as-not-used-in-production) |
| The **Overview** shows **Deployable after repository changes**, or changes required before you can deploy | [A finding needs a change you can make](https://deployz.dev/docs/troubleshooting/analysis.md#a-finding-needs-a-change-you-can-make) |
| The **Overview** shows "Not yet confirmed by a test deployment" or "The release build failed" | [The result changes after a release build](https://deployz.dev/docs/troubleshooting/analysis.md#the-result-changes-after-a-release-build) |
| A deployment is blocked with "A migration command is set, but no database is required" | [A migration command is set but no database is required](https://deployz.dev/docs/troubleshooting/analysis.md#a-migration-command-is-set-but-no-database-is-required) |
| You pushed a change, or Deployz shows **New analysis checks available** | [Re-analyze the application](https://deployz.dev/docs/troubleshooting/analysis.md#re-analyze-the-application) |
| A release build failed | [Fix a failed build](https://deployz.dev/docs/releases/build-failures.md) |
| A Deployz API request from your pipeline fails | [Errors and rate limits](https://deployz.dev/docs/api/errors.md) |
| The application shows **Test failed** | Select **Review failure** to open the test deployment, then [read the recovery panel](#read-the-recovery-panel). |
| You can't create a customer deployment because of your subscription | [Pricing and billing](https://deployz.dev/docs/account/billing.md) |
| Applications shows **GitHub was not connected** | [If connecting GitHub fails](https://deployz.dev/docs/account/github.md#if-connecting-github-fails) |
| The install page shows **Still connecting**, or the deployments list shows **Setting up · Slow to connect** | [The install page shows Still connecting](https://deployz.dev/docs/troubleshooting/connector.md#the-install-page-shows-still-connecting) |
| The connector stack completed in AWS, but the install page keeps showing **Still connecting** | [The connector never connects after a new install link](https://deployz.dev/docs/troubleshooting/connector.md#the-connector-never-connects-after-a-new-install-link) |
| Your customer's sign-in code doesn't arrive, or the install page says "Too many wrong codes" | [The sign-in code does not arrive](https://deployz.dev/docs/troubleshooting/install.md#the-sign-in-code-does-not-arrive) |
| AWS CloudFormation says the connector stack already exists | [The connector stack already exists](https://deployz.dev/docs/troubleshooting/install.md#the-connector-stack-already-exists) |
| **Install failed** because of an AWS organization policy (`AWS_SCP_BLOCKED`) | [An AWS organization policy blocks the setup](https://deployz.dev/docs/troubleshooting/install.md#an-aws-organization-policy-blocks-the-setup) |
| **Install failed** because the connector was refused permission (`AWS_PERMISSION_DENIED`) | [The connector lacks permission](https://deployz.dev/docs/troubleshooting/install.md#the-connector-lacks-permission) |
| **Install failed** because the AWS account reached a limit (`QUOTA_EXCEEDED`) | [The AWS account reached a limit](https://deployz.dev/docs/troubleshooting/install.md#the-aws-account-reached-a-limit) |
| **Install failed** because AWS has no database capacity (`RDS_AZ_CAPACITY`) | [AWS has no database capacity](https://deployz.dev/docs/troubleshooting/install.md#aws-has-no-database-capacity) |
| **Install failed** because the database couldn't be created (`DATABASE_CREATE_FAILED`) | [Database creation failed](https://deployz.dev/docs/troubleshooting/install.md#database-creation-failed) |
| **Install failed** because the cache couldn't be set up (`REDIS_PROVISIONING_FAILED`) | [Cache setup failed](https://deployz.dev/docs/troubleshooting/install.md#cache-setup-failed) |
| **Install failed** and the setup was rolled back (`STACK_CREATE_FAILED`) | [The setup failed and was rolled back](https://deployz.dev/docs/troubleshooting/install.md#the-setup-failed-and-was-rolled-back) |
| **Install failed** because of the Region (`REGION_NOT_SUPPORTED` or `TEMPLATE_UNAVAILABLE`) | [The Region is unavailable](https://deployz.dev/docs/troubleshooting/install.md#the-region-is-unavailable) |
| The install fails right away because the application template predates the role boundary | [The application template predates the role boundary](https://deployz.dev/docs/troubleshooting/install.md#the-application-template-predates-the-role-boundary) |
| You want to retry a failed install, or **Retry install** isn't shown | [Retry a failed install](https://deployz.dev/docs/troubleshooting/install.md#retry-a-failed-install) |
| **Retry install** says the connector is offline | [Retry install says the connector is offline](https://deployz.dev/docs/troubleshooting/connector.md#retry-install-says-the-connector-is-offline) |
| **Application couldn't start** | [Fix startup and health check failures](https://deployz.dev/docs/troubleshooting/startup-and-health.md). The heading covers six failure codes. Find the code in **Technical details**, then use the matching row below. |
| The application stops right after it starts (`CONTAINER_START_FAILED`) | [The application stops right after it starts](https://deployz.dev/docs/troubleshooting/startup-and-health.md#the-application-stops-right-after-it-starts) |
| The install finished but the application never became healthy (`IMAGE_HEALTH_CHECK_FAILED`) | [The health check fails](https://deployz.dev/docs/troubleshooting/startup-and-health.md#the-health-check-fails) |
| The application listens on a different port (`PORT_MISMATCH`) | [The port is wrong](https://deployz.dev/docs/troubleshooting/startup-and-health.md#the-port-is-wrong) |
| A required secret is missing (`MISSING_SECRET`) | [A required secret is missing](https://deployz.dev/docs/troubleshooting/startup-and-health.md#a-required-secret-is-missing) |
| A database migration failed (`MIGRATION_FAILED`) | [The database migration failed](https://deployz.dev/docs/troubleshooting/startup-and-health.md#the-database-migration-failed) |
| The application can't reach its database (`DATABASE_CONNECTION_FAILED`) | [The application fails to reach its database](https://deployz.dev/docs/troubleshooting/startup-and-health.md#the-application-fails-to-reach-its-database) |
| The application can't reach its cache | [The application fails to reach its cache](https://deployz.dev/docs/troubleshooting/startup-and-health.md#the-application-fails-to-reach-its-cache) |
| **Update failed** | [If the update fails](https://deployz.dev/docs/operate/deploy-update.md#if-the-update-fails), then the row for the failure code |
| You fixed a startup problem and need to deploy again | [Deploy again after a fix](https://deployz.dev/docs/troubleshooting/startup-and-health.md#deploy-again-after-a-fix) |
| **Your application has not started**, or the deployments list shows **Not started** | The install finished, but no release has started yet. Deploy a release. See [Deploy an update](https://deployz.dev/docs/operate/deploy-update.md). |
| **Your application is not responding** or **Your application is degraded** | [A live application stops responding](https://deployz.dev/docs/troubleshooting/startup-and-health.md#a-live-application-stops-responding) |
| You need the application's logs | [Find the application logs](https://deployz.dev/docs/troubleshooting/startup-and-health.md#find-the-application-logs) |
| A removed deployment shows **Reconnect AWS** instead of **Delete retained data** | [Retained data can't be deleted](https://deployz.dev/docs/troubleshooting/connector.md#retained-data-cant-be-deleted) |
| **Lost contact with this deployment**, or **Needs attention · Lost contact** | [The connector is offline](https://deployz.dev/docs/troubleshooting/connector.md#the-connector-is-offline) |
| **Connector update available**, **Connector update required before the next update**, **Connector update rolled back**, or **Connector update failed** | [The connector needs an update](https://deployz.dev/docs/troubleshooting/connector.md#the-connector-needs-an-update) |
| The deployment is running over a temporary address, not HTTPS | [The default HTTPS address stays in setup](https://deployz.dev/docs/troubleshooting/https-and-domains.md#the-default-https-address-stays-in-setup) |
| The endpoint shows **Failed** with **Retry HTTPS setup** | [The default HTTPS address failed](https://deployz.dev/docs/troubleshooting/https-and-domains.md#the-default-https-address-failed) |
| A message on the custom domain card | [Read the custom domain card](https://deployz.dev/docs/troubleshooting/https-and-domains.md#read-the-custom-domain-card) |
| A custom domain shows **Waiting for DNS** | [A custom domain is waiting for DNS](https://deployz.dev/docs/troubleshooting/https-and-domains.md#a-custom-domain-is-waiting-for-dns) |
| A custom domain shows **Needs attention** | [A custom domain needs attention](https://deployz.dev/docs/troubleshooting/https-and-domains.md#a-custom-domain-needs-attention) |
| A custom domain stays in setup, or shows "We couldn't connect this domain" | [A custom domain update timed out](https://deployz.dev/docs/troubleshooting/https-and-domains.md#a-custom-domain-update-timed-out) |
| You want to change a custom domain | [Change a custom domain](https://deployz.dev/docs/troubleshooting/https-and-domains.md#change-a-custom-domain) |
| **Removal failed** | [If removal fails](https://deployz.dev/docs/operate/remove.md#if-removal-fails) |
| "Your role does not allow this action" | [Roles](https://deployz.dev/docs/account/organization-and-team.md#roles) |

## Troubleshoot by stage

> [card] [Analysis](https://deployz.dev/docs/troubleshooting/analysis.md)
>
> Failed analyses, open questions, required changes, and unsupported capabilities.

> [card] [Install](https://deployz.dev/docs/troubleshooting/install.md)
>
> Failures in your customer's AWS account, and how to retry an install.

> [card] [Startup and health](https://deployz.dev/docs/troubleshooting/startup-and-health.md)
>
> An application that doesn't start or never becomes healthy.

> [card] [Connector](https://deployz.dev/docs/troubleshooting/connector.md)
>
> A Deployz connector that is offline or never connects.

> [card] [HTTPS and domains](https://deployz.dev/docs/troubleshooting/https-and-domains.md)
>
> The default HTTPS address and custom domains.

> [card] [Failure codes](https://deployz.dev/docs/reference/failure-codes.md)
>
> Every failure code, what it means, and who acts.

## Read the recovery panel

When a deployment fails or needs attention, its page in the dashboard opens with a recovery panel. Read it from top to bottom:

![The recovery panel for a failed update, read from top to bottom. 1, what happened: Update failed, the database migration step failed, so the new version was not started. 2, impact: Release v1.3.0 is still live and unaffected. 3, cause and fix: why it happened and how to fix it. 4, recoverability: needs a change before a retry can succeed. 5, actions: Retry update. 6, Technical details, collapsed by default, with the failure code.](https://mintcdn.com/deployz/_DkSLpZKuDP2HFAs/images/diagrams/recovery-panel.svg?fit=max\&auto=format\&n=_DkSLpZKuDP2HFAs\&q=85\&s=9990e2c62b4f662265302be2db780d5c)

![The recovery panel for a failed update, read from top to bottom. 1, what happened: Update failed, the database migration step failed, so the new version was not started. 2, impact: Release v1.3.0 is still live and unaffected. 3, cause and fix: why it happened and how to fix it. 4, recoverability: needs a change before a retry can succeed. 5, actions: Retry update. 6, Technical details, collapsed by default, with the failure code.](https://mintcdn.com/deployz/_DkSLpZKuDP2HFAs/images/diagrams/recovery-panel-mobile.svg?fit=max\&auto=format\&n=_DkSLpZKuDP2HFAs\&q=85\&s=dc0adc44d1871871621ddc3adc6a0daf)

The parts of a recovery panel, shown for a failed migration.

1. **What happened.** The heading names the failure: **Install failed**, **Application couldn't start**, **Update failed**, **Rollback failed**, **Restart failed**, **Configuration update failed**, or **Removal failed**. The sentence below it says what happened in plain language. **Application couldn't start** covers the six application startup codes: `CONTAINER_START_FAILED`, `IMAGE_HEALTH_CHECK_FAILED`, `PORT_MISMATCH`, `MISSING_SECRET`, `MIGRATION_FAILED`, and `DATABASE_CONNECTION_FAILED`.
2. **Impact.** What still works. After a failed update, for example, the panel says that the previous release is still live and unaffected.
3. **Cause and fix.** **Why it happened** and **How to fix it**. For the six application startup codes and for `UNKNOWN`, Deployz can write the explanation from the failure signals instead. It then shows **Likely cause** and **Suggested fix**, and may say how sure it is. Check that kind of explanation against **Technical details** before you act on it.
4. **Recoverability.** One line that says whether the failure can clear on its own or who needs to act. The classes are below. When you or your customer need to make a change, the panel shows no extra line, because **How to fix it** says what to change.
5. **Actions.** The recovery action, for example **Retry install**, **Retry update**, or **Retry removal**. When a failed first install needs Deployz, the panel shows a **Contact Deployz support** link instead of a button.
6. **Technical details.** Collapsed by default. It holds the **Failure code**, the operation and attempt, the AWS resource that failed, error messages, and, for startup failures, the container's exit code and stopped reason.

Your customer sees a simpler panel on their install page. It explains what happened, whether anything in their AWS account was cleaned up, and whether they need to act. It doesn't show the failure code.

## Who needs to act

Every failure code belongs to one recoverability class. The class tells you who needs to act, and whether retrying can help. For each code's class, see [Failure codes](https://deployz.dev/docs/reference/failure-codes.md). For how to retry, see [How to retry](https://deployz.dev/docs/reference/failure-codes.md#how-to-retry).

| Class | Line in the recovery panel | Who acts | What to do |
| - | - | - | - |
| Can clear on its own | “This can clear on its own. Wait a few minutes, then retry. If it fails again, contact Deployz support.” | You, once the cause clears | On a failed first install, select **Retry install**. A failed first install doesn't recover on its own. On a deployment with a running release, the deployment returns to its normal status when the connector reports the application healthy again, and you can also deploy again. If it continues, [contact support](https://share.hsforms.com/1dOsn_DJtRhq47DXIaRjeLw5auur). |
| Needs a change | No line. **How to fix it** describes the change. | You, or your customer in their AWS account | Make the change the fix describes, then retry. |
| Needs Deployz | “Contact Deployz support. Retrying will not fix this.” | Deployz | [Contact support](https://share.hsforms.com/1dOsn_DJtRhq47DXIaRjeLw5auur). Don't retry in a loop. On a failed first install, the dashboard shows a **Contact Deployz support** link instead of **Retry install**. |
| Can't be retried as is | “Retrying will not fix this. See How to fix it.” | You | Change the requirement, for example the Region or the application itself. |

Your customer can't retry, update, or remove anything in Deployz. When the fix is in their AWS account, they make the change and tell you, and you retry.

## Contact support

[Contact support](https://share.hsforms.com/1dOsn_DJtRhq47DXIaRjeLw5auur), or email [help@deployz.dev](mailto:help@deployz.dev), when:

* The recovery panel says the failure needs a fix on the Deployz side.
* You followed the fix for a failure code and the failure keeps happening.
* The failure code is `UNKNOWN` and **Technical details** doesn't explain it.

Include:

* The **Deployment ID** and the **Failure code**, from **Technical details** on the deployment page. Include the **Failure reference** if it's shown.
* The application name and the customer.
* What you were doing, and roughly when it failed, with the time zone.
* What you already tried.

Don't send passwords, secret values, or your customer's private data.

To report a bug or suggest an idea that doesn't need an answer, select **Send feedback** at the bottom of the dashboard sidebar. Choose a type, write your message, and select **Send feedback**. Deployz includes the page you were on.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.