# UNSUPPORTED_ON_DEPLOYMENT

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

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

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

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

## What happened [#what-happened]

This feature is not available on this deployment.

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

| Title | Message | Action |
| --- | --- | --- |
| Not supported | This action is not available on this network. |  |

## 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]

| Action | When |
| --- | --- |
| [`approval.getOperator`](/docs/reference/sdk/approval/get-operator) | for ENSv1 contracts without ENSv1. |
| [`approval.setOperator`](/docs/reference/sdk/approval/set-operator) | for ENSv1 contracts without ENSv1. |
| [`dns.getOffchainResolver`](/docs/reference/sdk/dns/get-offchain-resolver) | without a DNSSEC gateway or `gatewayUrls`. |
| [`dns.getProof`](/docs/reference/sdk/dns/get-proof) | without a DNSSEC gateway or `gatewayUrls`. |
| [`dns.getStatus`](/docs/reference/sdk/dns/get-status) | without a DNSSEC gateway or `gatewayUrls`. |
| [`migration.get`](/docs/reference/sdk/migration/get) | where ENSv2 is not deployed. |
| [`migration.migrate`](/docs/reference/sdk/migration/migrate) | where ENSv2 is not deployed. |
| [`name.getLabel`](/docs/reference/sdk/name/get-label) | without an ENSv2 deployment. |
| [`primaryName.set`](/docs/reference/sdk/primary-name/set) | for a chain without an L2 reverse registrar. |
| [`primaryName.signClaim`](/docs/reference/sdk/primary-name/sign-claim) | for a chain without an L2 reverse registrar. |
| [`registration.commit`](/docs/reference/sdk/registration/commit) | for an unaccepted token or without ENSv2. |
| [`registration.getCommitmentStatus`](/docs/reference/sdk/registration/get-commitment-status) | without ENSv2. |
| [`registration.getParameters`](/docs/reference/sdk/registration/get-parameters) | without ENSv2. |
| [`registration.getPrice`](/docs/reference/sdk/registration/get-price) | for an unaccepted token or without ENSv2. |
| [`registration.getRenewalPrice`](/docs/reference/sdk/registration/get-renewal-price) | for an unaccepted token or without ENSv2. |
| [`registration.isAvailable`](/docs/reference/sdk/registration/is-available) | without ENSv2. |
| [`registration.register`](/docs/reference/sdk/registration/register) | for an unaccepted token or without ENSv2. |
| [`registration.renew`](/docs/reference/sdk/registration/renew) | for an unaccepted token or without ENSv2. |
| [`registry.deploy`](/docs/reference/sdk/registry/deploy) | without ENSv2, or for an ENSv1 `attachTo`. |
| [`resolver.create`](/docs/reference/sdk/resolver/create) | without ENSv2, or for records a PermissionedResolver cannot store. |
| [`wrapper.getFuses`](/docs/reference/sdk/wrapper/get-fuses) | without ENSv1. |

Any write can fail with `UnsupportedError`: it is part of `Errors.WriteError`.

## Catch it [#catch-it]

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