Continuous API error 500

Resolved 💬 3 comments Opened Feb 3, 2026 by TAhern-215 Closed Feb 7, 2026

Bug Description
I keep getting API error 500. I have exited Claude Code and come back, try to continue. I have deleted third-party cookies for Claude in my Chrome browser. I have logged out and logged back in in Claude Code using our Teams account with the OAuth flow, I'm still getting API error 500 for every request in Claude Code

Environment Info

  • Platform: darwin
  • Terminal: cursor
  • Version: 2.1.29
  • Feedback ID: 48b55d65-5382-48ae-b90e-32257b7a2469

Errors

[{"error":"Error: 1: Command failed with ERR_STREAM_PREMATURE_CLOSE: cursor --force --install-extension anthropic.claude-code\nPremature close \n    at a97 (/$bunfs/root/claude:809:4029)\n    at async i97 (/$bunfs/root/claude:809:1623)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-03T15:39:42.362Z"},{"error":"Error: Failed to delete keychain entry\n    at ol9 (/$bunfs/root/claude:187:10369)\n    at async Hi9 (/$bunfs/root/claude:188:592)\n    at async $i9 (/$bunfs/root/claude:188:496)\n    at async kKA (/$bunfs/root/claude:1733:25443)\n    at async startOAuthFlow (/$bunfs/root/claude:1733:26974)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-03T15:39:52.842Z"},{"error":"Error: 500 {\"type\":\"error\",\"error\":{\"type\":\"api_error\",\"message\":\"Internal server error\"},\"request_id\":\"req_011CXmPReLaCzXP25bHKL1Uh\"}\n    at generate (/$bunfs/root/claude:343:8942)\n    at makeRequest (/$bunfs/root/claude:360:5435)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-03T15:39:57.506Z"},{"error":"Error: 500 {\"type\":\"error\",\"error\":{\"type\":\"api_error\",\"message\":\"Internal server error\"},\"request_id\":\"req_011CXmPWuNbPNR2gKMab6dJ9\"}\n    at generate (/$bunfs/root/claude:343:8942)\n    at makeRequest (/$bunfs/root/claude:360:5435)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-03T15:41:08.807Z"}]

View original on GitHub ↗

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