[BUG] API Error: Connection closed mid-response in Claude Cowork

Resolved 💬 2 comments Opened Jun 19, 2026 by nitin786pandey Closed Jun 22, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

API Error: Connection closed mid-response. The response above may be incomplete in Claude cowork
occurs frequently during normal usage. The response is cut off mid-generation with no way
to recover it.

What Should Happen?

It should not give these API errors.

Error Messages/Logs

<img width="644" height="395" alt="Image" src="https://github.com/user-attachments/assets/498910ca-89a9-42e4-9099-eeb65c226e00" />

Steps to Reproduce

Run a long running scheduled task creator or a skill creator.

Claude Model

Sonnet (default)

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

2.1.183 (Claude Code)

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

_No response_

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗