[Bug] Anthropic API Error: Recurring 500 Internal Server Error
Bug Description
Getting this quite frequently.
this is good. a comment on few-shot, we we structure few-shot in a prompt such a way that it is in the prefix, then we can take advantage of cache for it. right? ⎿ API Error: 500 {"type":"error","error":{"type":"api_error","message":"Internal server error"},"request_id":"req_011Ca5kdLGvBqhXbHw2ZevmS"} · check status.claude.com ❯ this is good. a comment on few-shot, we we structure few-shot in a prompt such a way that it is in the prefix, then we can take advantage of cache for it. right? ⎿ API Error: 500 {"type":"error","error":{"type":"api_error","message":"Internal server error"},"request_id":"req_011Ca5ke1FCpPFnyjNMFxD3X"} · check status.claude.com ❯ this is good. a comment on few-shot, we we structure few-shot in a prompt such a way that it is in the prefix, then we can take advantage of cache for it. right? ⎿ API Error: 500 {"type":"error","error":{"type":"api_error","message":"Internal server error"},"request_id":"req_011Ca5kffB27ckSL7NBd9kBG"} · check status.claude.com
Happened multiple times in previous prompts too. above is just example for reference.
Environment Info
- Platform: darwin
- Terminal: vscode
- Version: 2.1.109
- Feedback ID: a0270d81-5ecb-4366-86fd-73182c7b9dac
Errors
[{"error":"MaxFileReadTokenExceededError: File content (11320 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n at tw7 (/$bunfs/root/src/entrypoints/cli.js:4535:12021)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-15T12:38:54.025Z"},{"error":"Error: LSP server plugin:pyright-lsp:pyright failed to start: Executable not found in $PATH: \"pyright-langserver\"\n at start (/$bunfs/root/src/entrypoints/cli.js:1806:22349)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-15T13:21:54.375Z"},{"error":"Error: Executable not found in $PATH: \"pyright-langserver\"\n at spawn (unknown)\n at spawn (node:child_process:667:35)\n at spawn (node:child_process:14:39)\n at start (/$bunfs/root/src/entrypoints/cli.js:1806:20885)\n at w (/$bunfs/root/src/entrypoints/cli.js:1806:24868)\n at $ (/$bunfs/root/src/entrypoints/cli.js:1806:29940)\n at w (/$bunfs/root/src/entrypoints/cli.js:1806:30277)\n at Y (/$bunfs/root/src/entrypoints/cli.js:1806:30823)\n at call (/$bunfs/root/src/entrypoints/cli.js:4198:1370)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-15T13:21:54.376Z"},{"error":"Error: Failed to start LSP server for file /Users/manish/projects/resonance-platform/scripts/india_personas/pipeline.py: Executable not found in $PATH: \"pyright-langserver\"\n at $ (/$bunfs/root/src/entrypoints/cli.js:1806:29966)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-15T13:21:54.376Z"},{"error":"Error: Executable not found in $PATH: \"pyright-langserver\"\n at spawn (unknown)\n at spawn (node:child_process:667:35)\n at spawn (node:child_process:14:39)\n at start (/$bunfs/root/src/entrypoints/cli.js:1806:20885)\n at w (/$bunfs/root/src/entrypoints/cli.js:1806:24868)\n at $ (/$bunfs/root/src/entrypoints/cli.js:1806:29940)\n at w (/$bunfs/root/src/entrypoints/cli.js:1806:30277)\n at Y (/$bunfs/root/src/entrypoints/cli.js:1806:30823)\n at call (/$bunfs/root/src/entrypoints/cli.js:4198:1370)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-15T13:21:54.376Z"},{"error":"Error: LSP server plugin:pyright-lsp:pyright failed to start: Executable not found in $PATH: \"pyright-langserver\"\n at start (/$bunfs/root/src/entrypoints/cli.js:1806:22349)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-15T13:22:01.283Z"},{"error":"Error: Executable not found in $PATH: \"pyright-langserver\"\n at spawn (unknown)\n at spawn (no…
Note: Content was truncated.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗