[Bug] Anthropic API Error: Internal server error (500)

Resolved 💬 4 comments Opened Mar 17, 2026 by simplysdm Closed Apr 26, 2026

Bug Description
Receiving constant API Error: 500
{"type":"error","error":{"type":"api_error","message":"Internal server
error"},"request_id":"req_011CZ9E2dDDfXrVNyFcvDdBk"} error

Environment Info

  • Platform: darwin
  • Terminal: iTerm.app
  • Version: 2.1.77
  • Feedback ID: c0eed8e5-213f-4858-88ac-dd74bacd23cf

Errors

[{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"prompt is too long: 1039585 tokens > 1000000 maximum\"},\"request_id\":\"req_011CZ9BvpcfafH9gM3PNyHtM\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:409:9024)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:448:5435)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-03-17T19:16:43.622Z"},{"error":"Error: Conversation too long. Press esc twice to go up a few messages and try again.\n    at bJH (/$bunfs/root/src/entrypoints/cli.js:3798:1310)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-03-17T19:16:43.627Z"},{"error":"Error: EISDIR: illegal operation on a directory, read '/Users/shawnacason/projects/morph-opensource/mindlamp'\n    at j1H (/$bunfs/root/src/entrypoints/cli.js:1382:142)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-03-17T19:31:23.911Z"},{"error":"Error: File does not exist. Note: your current working directory is /Users/shawnacason.\n    at call (/$bunfs/root/src/entrypoints/cli.js:1526:6510)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-03-17T19:31:27.810Z"},{"error":"Error: File does not exist. Note: your current working directory is /Users/shawnacason. Did you mean LICENSE.md?\n    at call (/$bunfs/root/src/entrypoints/cli.js:1526:6510)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-03-17T19:31:28.016Z"},{"error":"Error: 500 {\"type\":\"error\",\"error\":{\"type\":\"api_error\",\"message\":\"Internal server error\"},\"request_id\":\"req_011CZ9DTGufhtL4FbRQePo32\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:409:9268)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:448:5435)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-03-17T19:36:59.843Z"},{"error":"Error: 500 {\"type\":\"error\",\"error\":{\"type\":\"api_error\",\"message\":\"Internal server error\"},\"request_id\":\"req_011CZ9DiuFNVFkdc7rHvSN2p\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:409:9268)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:448:5435)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-03-17T19:40:31.676Z"},{"error":"Error: Failed to delete keychain entry\n    at wrM (/$bunfs/root/src/entrypoints/cli.js:4148:8197)\n    at async S38 (/$bunfs/root/src/entrypoints/cli.js:7058:698)\n    at async PCL (/$bunfs/root/src/entrypoints/cli.js:7058:596)\n    at async kQH (/$bunfs/root/src/entrypoints/cli.js:2625:2201)\n    at async n6H (/$bunfs/root/src/entrypoints/cli.js:2649:5381)\n    at async <anonymous> (/$bunfs/root/src/entrypoints/cli.js:2669:2729)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-03-17T19:43:36.367Z"},{"error":"Error: 500 {\"type\":\"error\",\"error\":{\"type\":\"api_error\",\"message\":\"Internal server error\"},\"request_id\":\"req_011CZ9E2dDDfXrVNyFcvDdBk\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:409:9268)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:448:5435)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-03-17T19:44:32.151Z"}]

View original on GitHub ↗

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