[MODEL] Keeps hanging and not executing code edits/writes and API Error (stream idle timeout - partial response recieved)

Status Closed — not planned
Reported on v2.1.104
Maintainer reply None cached
Activity 13 comments · opened Apr 12, 2026 · closed May 29, 2026

Preflight Checklist

  • [x] I have searched existing issues for similar behavior reports
  • [x] This report does NOT contain sensitive information (API keys, passwords, etc.)

Type of Behavior Issue

Claude's behavior changed between sessions

What You Asked Claude to Do

Hey Claude - I just logged out and back in again as we kept having problems with you getting stck and hanging so I have tried this to see if it fixes it. We were in [redacted] and just starting [redacted]. Can you pick up where we left off?

What Claude Actually Did

Claude began searching files for context, got part way through the process and then just stopped. I nudged it after pressing escape and asking if it had hung, tried it again and then it restarted the searches and then said " API Error: Stream idle timeout - partial response received". This has happened in multiple sessions. Since last night, Claude code has been unusable. I have tried everything to fix, but no joy.

Expected Behavior

Functioning claude code.

Files Affected

Everything - its hanging and looping and API is timing out.

Permission Mode

Accept Edits was ON (auto-accepting changes)

Can You Reproduce This?

Sometimes (intermittent)

Steps to Reproduce

This is a global issue with the entire functionality of claude code, not just a single issue.

Claude Model

Opus

Relevant Conversation

Impact

High - Significant unwanted changes

Claude Code Version

2.1.104

Platform

Anthropic API

Additional Context

Yes - problem is the same across all sessions.

View original on GitHub ↗

12 Comments

github-actions[bot] · 4 months ago

Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/25979
  2. https://github.com/anthropics/claude-code/issues/33949
  3. https://github.com/anthropics/claude-code/issues/26224

This issue will be automatically closed as a duplicate in 3 days.

  • If your issue is a duplicate, please close it and 👍 the existing issue instead
  • To prevent auto-closure, add a comment or 👎 this comment

🤖 Generated with Claude Code

emanrow · 4 months ago

Same here, since yesterday it's nothing but a wall of API Error: Stream idle timeout.

Once it hits once, no amount of restarting CC, resending messages, etc.. will fix it. If I start a new session (clean context) it works again for a couple messages, I get the same error over and over again.

I mostly can't get past the planning stage on anything.

<img width="865" height="208" alt="Image" src="https://github.com/user-attachments/assets/3df21c99-efbb-47ac-87fb-7232ab8b2a44" />

Claude Code for Windows v 1.1617.0 (8d6345).

adamdabbracci · 4 months ago

This is happening in the Claude desktop app for OSX (Claude 1.1617.0 (8d6345) 2026-04-09T16:10:15.000Z) but not in Claude Code CLI.

mkull · 4 months ago

Happening on ios clause app => code

!image

Ditto unable to get it to write the plan doc

wjeroen · 4 months ago

Happening on the web (claude.ai/code) with Sonnet 4.6.

!Image

aliforia-com · 4 months ago

+1
The same error. Max (20x). Opus model.

Triuman · 4 months ago

+1 on iOS Claude app (Code)

  • Max plan
  • Two chats worked, happenned on one
emanrow · 4 months ago

Confirming bug persists in Windows Desktop after updating to Claude 1.2278.0 (e5213f) 2026-04-13T17:49:21.000Z. And it's really frustrating. I'm getting the error every other message, even when repeatedly alerting and reminding the agent to split up work into smaller chunks. There is no indication in the logs that anything went wrong at all.

It just lights my tokens on fire and says _you're welcome_. 🙄

Edit: I updated to "new Claude" today with the high hopes that this would be solved. But nope, the very first prompt got the same error back.

<img width="1031" height="118" alt="Image" src="https://github.com/user-attachments/assets/991ed8fc-e8ee-41c6-a6ec-de8a228d92d0" />

~Claude 1.2581.0 (f10398) 2026-04-14T17:16:40.000Z~
Claude 1.3109.0 (35cbf6) 2026-04-16T20:32:01.000Z

wjeroen · 4 months ago

The issue appears to happen with me when Claude Code wants to use 'write' to add a lot of lines in python. I have to tell it to use 'edit' instead, or to only write small amounts at a time.

Harav279 · 4 months ago

It keeps happening the Windows desktop app of Claude Code (version 1.3109.0) and its Web based interface: "API Error: Stream idle timeout - partial response received". Frustrating and token wasting.

The only workaround that seemed to have worked is prompting "Split the above job to small chunks to evade the API Error: Stream idle timeout - partial response received"

emanrow · 4 months ago

Yep. Still happening in Claude 1.4758.0 (fb266c) 2026-04-24T20:22:30.000Z, and arguably getting worse.

<img width="879" height="769" alt="Image" src="https://github.com/user-attachments/assets/cd1aabfa-f6fc-444b-922f-25a3b6e2ec54" />

This is my life now.

github-actions[bot] · 3 months ago

Closing for now — inactive for too long. Please open a new issue if this is still relevant.

Showing cached comments. Read the full discussion on GitHub ↗