[BUG] API ConnectionRefused and Image Recognition broken after upgrading to 2.1.122 with MiniMax
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?
After upgrading Claude Code from 2.1.110 to 2.1.122, two issues occur:
- API connections fail with
API Error: Unable to connect to API (ConnectionRefused) - Image recognition is also broken
What Should Happen?
Downgrading to 2.1.110 resolves both issues:
npm install -g @anthropic-ai/claude-code@2.1.110
Same configuration works in 2.1.110
Network connectivity is fine (ping works, DNS resolves)
Error Messages/Logs
Steps to Reproduce
- Claude Code version: 2.1.122 (upgraded from 2.1.110)
- OS: Windows (win32)
- Model: MiniMax-M2.7
- API Base URL: https://api.minimaxi.com/anthropic
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
2.1.110
Claude Code Version
2.1.122
Platform
Other
Operating System
Windows
Terminal/Shell
Terminal.app (macOS)
Additional Information
{
"env": {
"ANTHROPIC_AUTH_TOKEN": "",
"ANTHROPIC_BASE_URL": "https://api.minimaxi.com/anthropic",
"ANTHROPIC_MODEL": "MiniMax-M2.7",
"CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS": "1"
},
"disableMarketplaceAutoInstall": true,
"permissions": {
"allow": [],
"deny": []
},
"language": "Chinaese",
"teammateMode": "auto"
}
This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗