# NONCE_CONFLICT

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

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

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

<ErrorMeta errorClass="TransactionError" href="/docs/reference/errors/transaction-error" package="@ensforge/sdk" retryable />

## What happened [#what-happened]

The transaction nonce conflicts with another transaction.

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

| Title | Message | Action |
| --- | --- | --- |
| Transaction conflict | Another transaction from your wallet is pending. | Wait for it to confirm, then try again. |

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

Wait for pending transactions to confirm, then retry.

## Retry safety [#retry-safety]

Retrying the same call can succeed (`retryable: true`).

## Actions that throw it [#actions-that-throw-it]

| Action | When |
| --- | --- |
| [`approval.setDelegate`](/docs/reference/sdk/approval/set-delegate) | when confirmation fails or the wallet's nonce is already used. |
| [`approval.setOperator`](/docs/reference/sdk/approval/set-operator) | when confirmation fails or the wallet's nonce is already used. |
| [`approval.setToken`](/docs/reference/sdk/approval/set-token) | when confirmation fails or the wallet's nonce is already used. |
| [`dns.claim`](/docs/reference/sdk/dns/claim) | when confirmation fails or the wallet's nonce is already used. |
| [`dns.setRecords`](/docs/reference/sdk/dns/set-records) | when confirmation fails or the wallet's nonce is already used. |
| [`migration.migrate`](/docs/reference/sdk/migration/migrate) | when confirmation fails or the wallet's nonce is already used. |
| [`name.reclaim`](/docs/reference/sdk/name/reclaim) | when confirmation fails or the wallet's nonce is already used. |
| [`name.setManager`](/docs/reference/sdk/name/set-manager) | when confirmation fails or the wallet's nonce is already used. |
| [`name.setTtl`](/docs/reference/sdk/name/set-ttl) | when confirmation fails or the wallet's nonce is already used. |
| [`name.transfer`](/docs/reference/sdk/name/transfer) | when confirmation fails or the wallet's nonce is already used. |
| [`permission.setRecordAccess`](/docs/reference/sdk/permission/set-record-access) | when confirmation fails or the wallet's nonce is already used. |
| [`plan.resume`](/docs/reference/sdk/plan/resume) | when confirmation fails or the wallet's nonce is already used. |
| [`plan.send`](/docs/reference/sdk/plan/send) | when confirmation fails or the wallet's nonce is already used. |
| [`primaryName.set`](/docs/reference/sdk/primary-name/set) | when confirmation fails or the wallet's nonce is already used. |
| [`record.set`](/docs/reference/sdk/record/set) | when confirmation fails or the wallet's nonce is already used. |
| [`registration.commit`](/docs/reference/sdk/registration/commit) | when confirmation fails or the wallet's nonce is already used. |
| [`registration.register`](/docs/reference/sdk/registration/register) | when confirmation fails or the wallet's nonce is already used. |
| [`registration.renew`](/docs/reference/sdk/registration/renew) | when confirmation fails or the wallet's nonce is already used. |
| [`registry.attach`](/docs/reference/sdk/registry/attach) | when confirmation fails or the wallet's nonce is already used. |
| [`registry.deploy`](/docs/reference/sdk/registry/deploy) | when confirmation fails or the wallet's nonce is already used. |
| [`registry.setUri`](/docs/reference/sdk/registry/set-uri) | when confirmation fails or the wallet's nonce is already used. |
| [`registry.upgrade`](/docs/reference/sdk/registry/upgrade) | when confirmation fails or the wallet's nonce is already used. |
| [`resolver.create`](/docs/reference/sdk/resolver/create) | when confirmation fails or the wallet's nonce is already used. |
| [`resolver.link`](/docs/reference/sdk/resolver/link) | when confirmation fails or the wallet's nonce is already used. |
| [`resolver.set`](/docs/reference/sdk/resolver/set) | when confirmation fails or the wallet's nonce is already used. |
| [`resolver.upgrade`](/docs/reference/sdk/resolver/upgrade) | when confirmation fails or the wallet's nonce is already used. |
| [`role.grant`](/docs/reference/sdk/role/grant) | when confirmation fails or the wallet's nonce is already used. |
| [`role.revoke`](/docs/reference/sdk/role/revoke) | when confirmation fails or the wallet's nonce is already used. |
| [`subname.create`](/docs/reference/sdk/subname/create) | when confirmation fails or the wallet's nonce is already used. |
| [`subname.remove`](/docs/reference/sdk/subname/remove) | when confirmation fails or the wallet's nonce is already used. |
| [`subname.update`](/docs/reference/sdk/subname/update) | when confirmation fails or the wallet's nonce is already used. |
| [`wrapper.setChildFuses`](/docs/reference/sdk/wrapper/set-child-fuses) | when confirmation fails or the wallet's nonce is already used. |
| [`wrapper.setFuses`](/docs/reference/sdk/wrapper/set-fuses) | when confirmation fails or the wallet's nonce is already used. |
| [`wrapper.unwrap`](/docs/reference/sdk/wrapper/unwrap) | when confirmation fails or the wallet's nonce is already used. |
| [`wrapper.wrap`](/docs/reference/sdk/wrapper/wrap) | when confirmation fails or the wallet's nonce is already used. |

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

## Catch it [#catch-it]

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