Troubleshoot installation and login changedtroubleshoot-install
Nearest release: v2.1.318, published 22 hours before upstream edited the page. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Upstream edited this page at 4 Nov 2026 19:55 UTC, give or take a minute or two: the time comes from Anthropic’s own sitemap rather than from a commit. This site recorded the change at 4 Nov 2026 20:07 UTC.
Upstream edited
Recorded here
Lines+14added
Lines−0removed
From line
1,260
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits28to this page, all time
#### Login fails on a network home directory
The whole hunk
from line 1260, old and new numbered
/
from line 1260
12601260
12611261Once the Keychain is writable again, Claude Code moves the credentials back the next time it writes a credential. To force it now, run `/logout` and then `/login`. Logging out removes all stored credentials, including the plaintext file's contents, saved MCP server logins, and plugin sensitive values, so expect to re-authorize MCP servers and re-enter plugin secrets afterwards. Logging in again stores your login in the Keychain.
12621262
1263#### Login fails on a network home directory
1264
1265When a request fails with `API Error: 401` and your [configuration directory](https://code.claude.com/docs/en/claude-directory.md) is on a network filesystem, check whether that filesystem or your quota on it is full. With no room left, Claude Code can't save a new or renewed login to the plaintext [`.credentials.json` file](https://code.claude.com/docs/en/authentication#credential-management), and `claude auth login` can still print `Login successful.`
1266
1267**1. Make room on the filesystem**
1268
1269Delete files you no longer need on the filesystem that holds `~/.claude`, or the directory you set in [`CLAUDE_CONFIG_DIR`](https://code.claude.com/docs/en/env-vars).
1270
1271**2. Sign in again**
1272
1273Run `/login` at the Claude Code prompt or `claude auth login` in your shell.
1274
1275Before v2.1.318, when Claude Code saved the login file on a full network filesystem, it could replace a still-valid stored login with an empty file. Later commands then reported `Not logged in`.
1276
12631277### Bedrock, Agent Platform, or Foundry credentials not loading
12641278
12651279If you configured Claude Code to use a cloud provider and see `Could not load credentials from any providers` on Amazon Bedrock, `Could not load the default credentials` on Google Cloud's Agent Platform, or `ChainedTokenCredential authentication failed` on Microsoft Foundry, your cloud provider CLI is likely not authenticated in the current shell.
No line in this hunk matches that.