# The plan doesn't allow this now

The plan_ended error: why it happens and how to fix it.

Code: `plan_ended`. Status: `402`.

## Why it happens

The workspace has no active plan, is read only, or has reached a plan limit.

## How to fix it

Open Settings, then Billing. Reading still works while a workspace is read only.

## What the answer looks like

```json title="Example answer"
{
  "error": {
    "code": "plan_ended",
    "message": "A short message about this call.",
    "docs": "https://usetotems.com/docs/errors/plan_ended"
  },
  "request_id": "req_..."
}
```

The answer can also have `field` and `help`. See [all error codes](/docs/api/errors).
