Claude Code 2.1.306 fixes cloud login and API error handling
Orbis News1 min read
According to Anthropic, Claude Code 2.1.306 fixes false login errors when claude -p starts inside cloud sessions without session environment variables. It also fixes error handling in sessions with many MCP tools.
- API errors are no longer replaced by prompt is too long, and unnecessary compaction is fixed. [1]
Sources and originals
- [1] Anthropic · · Read original
The release fixes false cloud-session login errors and errors in MCP-heavy sessions.
{"version":2,"hot":{"event_id":"claude-code-2-1-306-release","group":"open-source","count":1,"heat":20,"verified":"confirmed","firstSeen":"2026-10-21T03:16:31.000Z","lastSeen":"2026-10-21T23:00:06.171Z","sources":[{"n":"Anthropic","publisher":"Anthropic","u":"https://github.com/anthropics/claude-code/releases/tag/v2.1.306","say":"The release fixes false cloud-session login errors and errors in MCP-heavy sessions.","tier":"T0","at":"2026-10-21T03:16:31.000Z"}],"signals":[],"facts":["API errors are no longer replaced by prompt is too long, and unnecessary compaction is fixed."]}}