[Bug] Anthropic API Error: 500 Internal Server Error

Resolved 💬 3 comments Opened Apr 15, 2026 by Mayra-Bonfim Closed Apr 19, 2026

Bug Description
está aparecendo esse erro em cada vez que vou falar com o Claude Code e ele parou de executar o que eu tinha orientado. o erro é esse: "API Error: 500" e o request_id é esse: req_011Ca5jfBWG7NGiMq5eoKfyZ

Environment Info

  • Platform: win32
  • Terminal: WarpTerminal
  • Version: 2.1.105
  • Feedback ID: 6031b482-1ec6-4d7e-a3fa-d48dba42b4d7

Errors

[{"error":"MaxFileReadTokenExceededError: File content (39926 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 aD_ (B:/~BUN/root/src/entrypoints/cli.js:4455:12224)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-14T11:35:11.204Z"},{"error":"MaxFileReadTokenExceededError: File content (39926 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 aD_ (B:/~BUN/root/src/entrypoints/cli.js:4455:12224)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-14T11:35:13.677Z"},{"error":"McpToolCallError: ### Error\nError: Access to \"file:\" protocol is blocked. Attempted URL: \"file:///C:/Users/mader/ecosistema-ia-comunica/hubs/marketing/criacao/nexus-logo-concepts/index.html\"\n    at GJK (B:/~BUN/root/src/entrypoints/cli.js:1808:63)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-14T11:56:49.295Z"},{"error":"Error: Failed to fetch version from https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/latest: ECONNREFUSED\n    at Gp4 (B:/~BUN/root/src/entrypoints/cli.js:2388:15184)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-14T13:37:28.626Z"},{"error":"Error: Failed to fetch version from https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/latest: ECONNREFUSED\n    at Gp4 (B:/~BUN/root/src/entrypoints/cli.js:2388:15184)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-14T13:37:28.626Z"},{"error":"Error: 1P event logging: 3 events failed to export (code=ECONNREFUSED, ECONNREFUSED)\n    at queueFailedEvents (B:/~BUN/root/src/entrypoints/cli.js:442:2574)\n    at async doExport (B:/~BUN/root/src/entrypoints/cli.js:442:1516)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-14T14:05:05.529Z"},{"error":"Error: 1P event logging: 1 events failed to export (code=ECONNREFUSED, ECONNREFUSED)\n    at queueFailedEvents (B:/~BUN/root/src/entrypoints/cli.js:442:2574)\n    at async doExport (B:/~BUN/root/src/entrypoints/cli.js:442:1516)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-14T14:05:16.657Z"},{"error":"McpToolCallError: ### Error\nError: browserBackend.callTool: Target page, context or browser has been closed\n    at GJK (B:/~BUN/root/src/entrypoints/cli.js:1808:63)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-14T16:08:44.533Z"},{"error":"McpToolCallError: ### Error\nError: browserBackend.callTool: Target page, context or browser has been closed\n    at GJK (B:/~BUN/root/src/entrypoints/cli.js:1808:63)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-14T16:08:49.057Z"},{"error":"McpToolCallError: ### Error\nError: browserBackend.callTool: Target page, context or browser has been closed\n    at GJK (B:/~BUN/root/src/entrypoints/cli.js:1808:63)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-14T16:08:58.196Z"},{"error":"McpToolCallError: ### Error\nError: Browser is already in use for C:\\Users\\mader\\AppData\\Local\\ms-playwright\\mcp-chrome-52c96db, use --isolated to run multiple instances of the same browser\n    at GJK (B:/~BUN/root/src/entrypoints/cli.js:1808:63)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-14T16:11:00.040Z"},{"error":"McpToolCallError: ### Error\nError: Browser is already in use for C:\\Users\\mader\\AppData\\Local\\ms-playwright\\mcp-chrome-52c96db, use --isolated to run multiple instances of the same browser\n    at GJK (B:/~BUN/root/src/entrypoints/cli.js:1808:63)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-14T16:11:50.817Z"},{"error":"McpError: MCP error -32603: Runtime.callFunctionOn timed out. Increase the 'protocolTimeout' setting in launch/connect calls for a higher timeout if needed.\n    at fromError (B:/~BUN/root/src/entrypoints/cli.js:91:42770)\n    at _onresponse (B:/~BUN/root/src/entrypoints/cli.js:91:52999)\n    at <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:91:48637)\n    at processReadBuffer (B:/~BUN/root/src/entrypoints/cli.js:1682:29654)\n    at <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:1682:29259)\n    at emit (node:events:95:22)\n    at addChunk (internal:streams/readable:264:47)\n …

Note: Content was truncated.

View original on GitHub ↗

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