# COMMITMENT_EXISTS

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

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

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

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

## What happened [#what-happened]

An unexpired commitment with the same data already exists.

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

| Title | Message | Action |
| --- | --- | --- |
| Already started | A registration for this name is already in progress. |  |

## 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 a resumed commitment outside its window. |
| [`registration.register`](/docs/reference/sdk/registration/register) | for a resumed commitment outside its window. |

## Catch it [#catch-it]

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