The whole hunk
from line 59, old and new numbered
/
lines
from line 59
5959| `Login expired · Please run /login` | [Authentication](#login-expired) |
6060| `Failed to authenticate: OAuth session expired and could not be refreshed` | [Authentication](#login-expired) |
6161| `Anthropic profile login expired · Re-authenticate your Anthropic profile` | [Authentication](#anthropic-profile-login-expired) |
62| `Anthropic profile login expired · Run /login to use your claude.ai account instead, or re-authenticate the profile` | [Authentication](#anthropic-profile-login-expired) |
6263| `does not meet scope requirement user:profile` | [Authentication](#oauth-scope-requirement) |
6364| `claude.ai rejected the session token` / `session token rejected` | [Authentication](#claude-ai-rejected-the-session-token) |
6465| `AWS credentials expired or invalid` | [Authentication](#aws-credentials-expired-or-invalid) |
from line 396
395396**What to do:**
396397
397398* Wait for the reset time shown in the error
399* In the Code tab of the [Desktop app](/docs/en/desktop), the session-limit card shows an **Auto-continue when limits reset** checkbox. The weekly-limit card doesn't offer it. When it's checked, the Desktop app retries the interrupted turn after the reset and shows the retry time on the card. Uncheck it to turn this off for your account.
398400* For the Opus limit, run `/model` and switch to another model to keep working
399401* Run `/usage` to see your plan limits and when they reset
400402* Run `/usage-credits` to buy additional usage on Pro and Max, or to request it from your admin on Team and Enterprise. See [usage credits for paid plans](https://support.claude.com/en/articles/12429409-extra-usage-for-paid-claude-plans) for how this is billed.
from line 476
474476
475477### Credit balance is too low
476478
477Your Console organization has run out of prepaid credits.
479Your Console organization has run out of prepaid credits, or Claude Code is sending your requests with a Console API key when you meant to use your subscription.
478480
479481```text theme={null}
480482Credit balance is too low
from line 484
482484
483485**What to do:**
484486
487* If you have a Pro, Max, Team, or Enterprise plan and see this, run `/status` and check the `API key` row. An approved `ANTHROPIC_API_KEY` in your environment routes requests through that key instead of your subscription. Unset it in the current shell and remove it from your shell profile, then relaunch `claude`. Run `/login` if you haven't signed in with your subscription yet.
485488* Add credits at [platform.claude.com/settings/billing](https://platform.claude.com/settings/billing), and consider enabling auto-reload there so the balance refills before it hits zero
486* Switch to subscription authentication with `/login` if you have a Pro, Max, Team, or Enterprise plan
487489* Set per-workspace spend caps in the Console to prevent a single project from draining the org balance. See [Manage costs effectively](/docs/en/costs).
488490
489491### Could not update your spend limit
from line 806
804806
805807### Anthropic profile login expired
806808
807Claude Code is authenticating through an Anthropic credential profile whose saved login credential has expired, and the profile holds no refresh credential Claude Code can use to renew it. Claude Code stops each request locally without retrying, because only re-authenticating the profile produces a working credential.
809Claude Code is authenticating through an Anthropic credential profile whose saved login credential has expired, and the profile holds no refresh credential Claude Code can use to renew it. Claude Code stops each request locally without retrying, because a retry would read the same expired credential.
808810
809811```text theme={null}
810812Anthropic profile login expired · Re-authenticate your Anthropic profile
813Anthropic profile login expired · Run /login to use your claude.ai account instead, or re-authenticate the profile
811814```
812815
813816This appears only when the active credential comes from an Anthropic credential profile, one you select with the `ANTHROPIC_PROFILE` environment variable or that Claude Code discovers as the active profile in your Anthropic configuration directory. Sessions that authenticate with `/login`, an API key, a bearer token such as `ANTHROPIC_AUTH_TOKEN`, or a third-party provider never see this message.
814817
815Running `/login` doesn't renew the profile credential. Whether a working login can take over instead depends on how the profile was selected:
818Running `/login` doesn't renew the profile credential. Which form you see depends on whether you selected the profile or Claude Code discovered it, and tells you whether a working login can take over instead:
816819
817* When you set `ANTHROPIC_PROFILE` explicitly, the profile keeps precedence over a saved login, so signing in doesn't stop the error.
818* When Claude Code discovered the profile from your configuration directory, a working `/login` takes precedence over it, and Claude Code authenticates with your claude.ai or Console account instead.
820* When you set `ANTHROPIC_PROFILE` explicitly, the message ends with `Re-authenticate your Anthropic profile`. Claude Code gives the profile precedence over a saved login, so signing in doesn't stop the error.
821* When Claude Code discovered the profile from your configuration directory, the message offers `/login`, because Claude Code gives a working `/login` precedence over the discovered profile and then authenticates with your claude.ai or Console account instead. Before v2.1.234, Claude Code showed the `Re-authenticate your Anthropic profile` form in this case too.
819822
820823**What to do:**
821824