[BUG] API error

Status Closed — not planned
Maintainer reply None cached
Activity 2 comments · opened Apr 26, 2026 · closed May 28, 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?

I am getting all the time even with Max plan "API Error: Unable to connect to API (ECONNRESET)". I checked all my cnnection and all, everyhting is fine, but this API persists all the time.

What Should Happen?

It should work! It worked perfectly on Opus 4.6, there was no issue

Error Messages/Logs

API Error: Unable to connect to API (ECONNRESET)

Steps to Reproduce

<img width="871" height="103" alt="Image" src="https://github.com/user-attachments/assets/ec9f9e64-d294-456b-a4e5-87c3e4cf88ce" />

Claude Model

Opus

Is this a regression?

Yes, this worked in a previous version

Last Working Version

Opus 4.6

Claude Code Version

v2.1.119

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

<img width="871" height="103" alt="Image" src="https://github.com/user-attachments/assets/eeae629d-4f4a-4b22-95e2-67ab131b31bc" />

View original on GitHub ↗

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