# PLAN_INVALID

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

What PLAN_INVALID means, why PlanError 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/PLAN_INVALID

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

## What happened [#what-happened]

The text is not a serialized ensforge plan.

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

| Title | Message | Action |
| --- | --- | --- |
| Cannot resume | The saved progress is damaged. | Start again. |

## 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 |
| --- | --- |
| [`plan.get`](/docs/reference/sdk/plan/get) | when a saved plan cannot be read. |
| [`plan.list`](/docs/reference/sdk/plan/list) | when a saved plan cannot be read. |
| [`plan.reconcile`](/docs/reference/sdk/plan/reconcile) | when a saved plan cannot be read. |
| [`plan.resume`](/docs/reference/sdk/plan/resume) | when a saved plan cannot be read. |

## Catch it [#catch-it]

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