[Bug] Anthropic API Error: 500 Internal Server Error when reading files in PyCharm terminal

Resolved 💬 3 comments Opened Feb 3, 2026 by ddl-r-abdulaziz Closed Feb 7, 2026

Bug Description
my claude code terminal in pycharm cannot work with files:  Read bin/test_istio_no_install.sh (443 lines) ⎿  API Error: 500 {"type":"error","error":{"type":"api_error","message":"Internal server error"},"request_id":"req_011CXmQM91DhCdNpCgcEFKaR"}

  • it works in my regular terminal.
  • I'm using the same working dir.

Environment Info

  • Platform: darwin
  • Terminal: pycharm
  • Version: 2.1.29
  • Feedback ID: 1f71fd92-98d8-4731-96ec-9c05f0f11b54

Errors

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/rash.abdulaziz/.local/share/claude/versions/2.1.29 (expected in multi-process scenarios)\n    at BUR (/$bunfs/root/claude:3589:2098)\n    at SPA (/$bunfs/root/claude:3589:1209)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-03T15:51:21.821Z"},{"error":"Error: 500 {\"type\":\"error\",\"error\":{\"type\":\"api_error\",\"message\":\"Internal server error\"},\"request_id\":\"req_011CXmQL2va9o574qQctY2zu\"}\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:51:48.130Z"},{"error":"Error: 500 {\"type\":\"error\",\"error\":{\"type\":\"api_error\",\"message\":\"Internal server error\"},\"request_id\":\"req_011CXmQL4LuBPZ6bgN3PZMzN\"}\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:51:48.426Z"},{"error":"Error: 500 {\"type\":\"error\",\"error\":{\"type\":\"api_error\",\"message\":\"Internal server error\"},\"request_id\":\"req_011CXmQM91DhCdNpCgcEFKaR\"}\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:52:03.023Z"}]

View original on GitHub ↗

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