INVALID_DEPLOYMENT
What INVALID_DEPLOYMENT means, why ConfigError throws it, what to show users and how to fix it in ensforge. Also covers retry safety.
ConfigErrorNot retryable
@ensforge/sdk
What happened
The deployment profile is invalid.
What to show users
| Title | Message | Action |
|---|---|---|
| Configuration problem | This app is misconfigured for ENS. |
How to fix
Check the issues listed in the cause; Deployments.define reports every problem.
Retry safety
Retrying the same call fails the same way until the cause is fixed (retryable: false).
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
Errors.hasCode("INVALID_DEPLOYMENT") narrows to this error. See Handle errors.
Was this page helpful?