[BUG] 502 error opus 4.8

Open 💬 3 comments Opened Jun 20, 2026 by g1sdobson-ux

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_

View original on GitHub ↗

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