# UNSUPPORTED_PROTOCOL

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

What UNSUPPORTED_PROTOCOL 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_PROTOCOL

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

## What happened [#what-happened]

This operation is not supported for this names.

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

| Title | Message | Action |
| --- | --- | --- |
| Not supported | This action is not available for this name. |  |

## 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.getToken`](/docs/reference/sdk/approval/get-token) | for ENSv2 names and unwrapped subnames. |
| [`approval.setToken`](/docs/reference/sdk/approval/set-token) | for ENSv2 names and unwrapped subnames. |
| [`name.reclaim`](/docs/reference/sdk/name/reclaim) | for wrapped, ENSv2 and non-`.eth` names. |
| [`name.setManager`](/docs/reference/sdk/name/set-manager) | for wrapped and ENSv2 names. |
| [`name.setTtl`](/docs/reference/sdk/name/set-ttl) | for ENSv2 names. |
| [`name.transfer`](/docs/reference/sdk/name/transfer) | for `role: "registrant"` on names without a registrant. |
| [`record.set`](/docs/reference/sdk/record/set) | for records the resolver does not support (`feature` names them), a resolver that keeps its records off-chain or takes no writes, or `resolver: "default"` on an ENSv2 name. |
| [`registry.attach`](/docs/reference/sdk/registry/attach) | for ENSv1 names. |
| [`registry.deploy`](/docs/reference/sdk/registry/deploy) | without ENSv2, or for an ENSv1 `attachTo`. |
| [`resolver.set`](/docs/reference/sdk/resolver/set) | for `"default"` on ENSv2 names. |
| [`role.get`](/docs/reference/sdk/role/get) | for ENSv1 names. |
| [`role.grant`](/docs/reference/sdk/role/grant) | for ENSv1 names. |
| [`role.revoke`](/docs/reference/sdk/role/revoke) | for ENSv1 names. |
| [`subname.create`](/docs/reference/sdk/subname/create) | for `roles` on ENSv1 or `fuses` on unwrapped parents. |
| [`subname.update`](/docs/reference/sdk/subname/update) | for an ENSv2 owner change or an unwrapped ENSv1 expiry. |
| [`wrapper.setChildFuses`](/docs/reference/sdk/wrapper/set-child-fuses) | for ENSv2 names; migrated names have no NameWrapper. |
| [`wrapper.setFuses`](/docs/reference/sdk/wrapper/set-fuses) | for ENSv2 names; migrated names have no NameWrapper. |
| [`wrapper.unwrap`](/docs/reference/sdk/wrapper/unwrap) | for ENSv2 names; migrated names have no NameWrapper. |
| [`wrapper.wrap`](/docs/reference/sdk/wrapper/wrap) | for ENSv2 names; migrated names have no NameWrapper. |

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

## Catch it [#catch-it]

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