# NOT_OWNER

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

What NOT_OWNER means, why UnauthorizedError 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/NOT_OWNER

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

## What happened [#what-happened]

The account does not own this name.

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

| Title | Message | Action |
| --- | --- | --- |
| Not the owner | Your account does not own this name. | Switch to the owner's account. |

## How to fix [#how-to-fix]

Send from the owner's account.

## 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.setDelegate`](/docs/reference/sdk/approval/set-delegate) | when the signer does not own the name. |
| [`approval.setToken`](/docs/reference/sdk/approval/set-token) | when the account may not approve it. |
| [`dns.claim`](/docs/reference/sdk/dns/claim) | when someone other than the DNS owner claims with a resolver. |
| [`dns.setRecords`](/docs/reference/sdk/dns/set-records) | when the account may not edit the records. |
| [`migration.migrate`](/docs/reference/sdk/migration/migrate) | when the account may not move a token. |
| [`name.reclaim`](/docs/reference/sdk/name/reclaim) | when the account is not the registrant. |
| [`name.setManager`](/docs/reference/sdk/name/set-manager) | when the account is neither registrant nor manager. |
| [`name.setTtl`](/docs/reference/sdk/name/set-ttl) | when the account may not change it. |
| [`name.transfer`](/docs/reference/sdk/name/transfer) | when the account may not send it, or the recipient (an HCA) refuses it. |
| [`permission.setRecordAccess`](/docs/reference/sdk/permission/set-record-access) | when the account may not grant access. |
| [`record.set`](/docs/reference/sdk/record/set) | when the account may not edit records. |
| [`resolver.create`](/docs/reference/sdk/resolver/create) | when the account may not point the name at it. |
| [`resolver.set`](/docs/reference/sdk/resolver/set) | when the account may not change it. |
| [`subname.create`](/docs/reference/sdk/subname/create) | when the account may not create children. |
| [`subname.remove`](/docs/reference/sdk/subname/remove) | when the account may not remove it. |
| [`subname.update`](/docs/reference/sdk/subname/update) | when the account may not change it. |
| [`wrapper.setChildFuses`](/docs/reference/sdk/wrapper/set-child-fuses) | when the account may not change it. |
| [`wrapper.setFuses`](/docs/reference/sdk/wrapper/set-fuses) | when the account may not burn them. |
| [`wrapper.unwrap`](/docs/reference/sdk/wrapper/unwrap) | when the account may not unwrap it. |
| [`wrapper.wrap`](/docs/reference/sdk/wrapper/wrap) | when the account does not own the name, or the manager has not approved the NameWrapper. |

## Catch it [#catch-it]

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