[BUG] 502 error opus 4.8
Status Open
Maintainer reply None cached
Activity 4 comments · opened Jun 20, 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'm experiencing persistent 502 Bad Gateway errors when using Claude Code on the command line with Opus 4.8. The error started approximately 1 hour ago and continues despite the status page showing the incident as resolved. The error message is: "API Error: 502 Bad Gateway"
What Should Happen?
Claude code should work
Error Messages/Logs
API Error: 502 Bad Gateway. This is a server-side issue, usually temporary — try again in a moment. If it persists, check
https://status.claude.com
Steps to Reproduce
any command results in 502 error, repeatedly
Claude Model
Opus
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
4.8 claude code
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
Windows Terminal
Additional Information
_No response_
4 Comments
facing the same issue on mac (fixed on reauthenticating)
Same here. But (reauth does NOT fixiit)
same issue in mac
Having the same issue, tried to reauth, tried uninstalling and doing a dry-run. Nothing seems to correct it. On web interface it works correctly with any model, but with Claude Code nothing works