# INVALID_DEPLOYMENT

> For the complete documentation index, see [llms.txt](https://ensforge.com/llms.txt).

What INVALID_DEPLOYMENT means, why ConfigError throws it, what to show users and how to fix it in ensforge. Also covers retry safety.

Source: https://ensforge.com/docs/reference/errors/INVALID_DEPLOYMENT

<ErrorMeta errorClass="ConfigError" href="/docs/reference/errors/config-error" package="@ensforge/sdk" />

## What happened [#what-happened]

The deployment profile is invalid.

## What to show users [#what-to-show-users]

| Title | Message | Action |
| --- | --- | --- |
| Configuration problem | This app is misconfigured for ENS. |  |

## How to fix [#how-to-fix]

Check the issues listed in the cause; Deployments.define reports every problem.

## Retry safety [#retry-safety]

Retrying the same call fails the same way until the cause is fixed (`retryable: false`).

## Actions that throw it [#actions-that-throw-it]

No action names this code in its documented errors.

Any action can fail with `ConfigError`: it is part of `Errors.CommonError`.

## Catch it [#catch-it]

`Errors.hasCode("INVALID_DEPLOYMENT")` narrows to this error. See [Handle errors](/docs/sdk/handle-errors).