
Claude Code Streaming response ended before any complete data: Causes and Fixes
Streaming response ended before any complete data means a proxy or gateway broke Claude Code's stream. Pass SSE through unbuffered and test with curl -N.
AI, hardware and tools I’ve tried for myself. When a conversation on X needs more room, it continues here.
Follow via RSS
Streaming response ended before any complete data means a proxy or gateway broke Claude Code's stream. Pass SSE through unbuffered and test with curl -N.

Could not resolve authentication method means Claude Code found no credential. Upgrade to 2.1.176+ and set the key where the worker starts. Checked on 2.1.318.

apiKeyHelper script is failing in Claude Code means your helper returned no usable key. Run it by hand, print only the key, exit 0. Tested on 2.1.318.

claude code credit balance is too low on Pro or Max usually means ANTHROPIC_API_KEY is still set. Check /status, unset the key, then /login. Verified fix.

Git says Unable to create .git/index.lock: File exists. Do not delete the lock blindly. We reproduced the message in a throwaway repo, show how to check for a live git…

Seeing API Error 400 Invalid effort level turn after turn in Claude Code? Version 2.1.314 lowers effort, retries, and tells you which level it used. We checked claude --version on…

Claude Code was working, you pointed it at Ollama or OpenRouter, and now every prompt ends with There's an issue with the selected model. We reproduced the error five ways…

Claude Code auto mode temporarily unavailable means the classifier model that checks actions in auto mode did not answer, so the action was skipped. We reproduced it on Claude Code…

Claude Code monthly spend limit means your plan usage ran out and your usage credits hit their monthly cap. We tested the message family on Claude Code 2.1.312 with a…

Claude Code API Error 401 OAuth token has expired means the login token expired and the automatic refresh failed. We reproduced it on Claude Code 2.1.312 with a mock API…

Claude Code Prompt is too long means the request, including system prompt, tools and CLAUDE.md, is bigger than the model's context window. We reproduced the variants on Claude Code 2.1.312…

Claude Code Unable to connect to API means the connection to the API never completed. Usually the network is fine and a leftover ANTHROPIC_BASE_URL, a dead proxy variable, a VPN…