# UNEXPECTED

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

What UNEXPECTED means, why InternalError 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/UNEXPECTED

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

## What happened [#what-happened]

An unexpected error occurred.

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

| Title | Message | Action |
| --- | --- | --- |
| Something went wrong | An unexpected error occurred. | Try again. If it keeps happening, contact support. |

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

If this persists, report it at https://github.com/thenamespace/ensforge/issues with the cause.

## 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 |
| --- | --- |
| [`event.decode`](/docs/reference/sdk/event/decode) | for malformed logs. |
| [`plan.get`](/docs/reference/sdk/plan/get) | when the storage fails. |

Any action can fail with `InternalError`: it is part of `Errors.CommonError`.

## Catch it [#catch-it]

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