# TLD_NOT_PUBLIC

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

What TLD_NOT_PUBLIC means, why DnsError throws it, what to show users and how to fix it in ensforge. Also covers retry safety and the actions that throw it.

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

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

## What happened [#what-happened]

The top-level domain is not a public suffix and cannot be imported.

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

| Title | Message | Action |
| --- | --- | --- |
| Domain not supported | This top-level domain cannot be imported into ENS. |  |

## 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 |
| --- | --- |
| [`dns.claim`](/docs/reference/sdk/dns/claim) | when the name cannot be proven. |

## Catch it [#catch-it]

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