# PAYMENT_TOKEN_UNSUPPORTED

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

What PAYMENT_TOKEN_UNSUPPORTED 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/PAYMENT_TOKEN_UNSUPPORTED

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

## What happened [#what-happened]

The registrar does not accept this payment token.

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

| Title | Message | Action |
| --- | --- | --- |
| Payment not accepted | This token is not accepted for registration. |  |

## 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 |
| --- | --- |
| [`registration.commit`](/docs/reference/sdk/registration/commit) | for an unaccepted token or 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.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. |

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

## Catch it [#catch-it]

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