[BUG] API Error: 500

Status Fixed / completed
Reported on v2.1.16
Maintainer reply None cached
Activity 6 comments · opened Jan 22, 2026 · closed Jan 23, 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?

Getting this error every prompt sent
API Error: 500 {"type":"error","error":{"type":"api_error","message":"Internal server error"},"request_id":"req_011CXPBvcF9LAFhUJBRr4vXF"}

What Should Happen?

It should say hi when i say hi and not API Error: 500 {"type":"error","error":{"type":"api_error","message":"Internal server error"},"request_id":"req_011CXPBvcF9LAFhUJBRr4vXF"}

Error Messages/Logs

Just prints:"API Error: 500 {"type":"error","error":{"type":"api_error","message":"Internal server error"},"request_id":"req_011CXPBvcF9LAFhUJBRr4vXF"}"

Steps to Reproduce

  1. Open claude
  2. Write Hi
  3. Get an error
  4. Thats it.

Claude Model

Opus

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

2.1.16

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

It keeps saying 2.1.17 for version but its still shows 2.1.16 when --version

View original on GitHub ↗

6 Comments

lucasriondel · 7 months ago

same here

Quelaan1 · 7 months ago

Simple fix logout and login

github-actions[bot] · 7 months ago

Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/20179
  2. https://github.com/anthropics/claude-code/issues/20176
  3. https://github.com/anthropics/claude-code/issues/20180

This issue will be automatically closed as a duplicate in 3 days.

  • If your issue is a duplicate, please close it and 👍 the existing issue instead
  • To prevent auto-closure, add a comment or 👎 this comment

🤖 Generated with Claude Code

coygeek · 7 months ago

npx @anthropic-ai/claude-code@2.1.14

Works as a workaround.
NPX doesnt override your current installation.

nikkundra · 7 months ago

Errors persist 5+ hours after "Resolved" status

Adding data showing this issue is NOT resolved despite status.claude.com claiming "Resolved" at Jan 22, 22:26 UTC (2:26 PM PT).

Request IDs (chronological)

| Time (PT) | Time (UTC) | Request ID |
|-----------|------------|------------|
| ~04:08 PM Jan 22 | ~00:08 Jan 23 | req_011CXPGmvogRH7WnvQBr3LM8 |
| ~04:08 PM Jan 22 | ~00:08 Jan 23 | req_011CXPGuiyWHkWSGaeZnWMPo |
| ~04:08 PM Jan 22 | ~00:08 Jan 23 | req_011CXPJrnpLbG9nrATXBZyrn |
| 07:28 PM Jan 22 | 03:28 Jan 23 | req_011CXPbgobAmvQR698diMMMA |

Timeline

  • Status page claimed resolved: Jan 22, 22:26 UTC (2:26 PM PT)
  • Errors continuing: Jan 22, 4:08 PM PT through 7:28 PM PT
  • Duration since "resolved": Over 5 hours and counting

Environment

  • Claude Code v2.1.17
  • Model: claude-opus-4-5-20251101
  • macOS

Impact

Severe workflow disruption - multiple consecutive failures throughout the day.

github-actions[bot] · 7 months ago

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.