[Bug] Anthropic API Error: 500 Internal Server Error

Resolved 💬 1 comment Opened May 16, 2026 by diogocacarneiro-lang Closed Jun 15, 2026

Bug Description
API Error: 500 Internal server error. This is a server-side issue, usually temporary — try again in a moment. If it persists, check status.claude.com.

Environment Info

  • Platform: darwin
  • Terminal: Apple_Terminal
  • Version: 2.1.142
  • Feedback ID: 96d72ad1-8269-4f16-9b0d-3d41fb9ecb3a

Errors

[{"error":"SyntaxError: JSON Parse error: Unrecognized token '>'\n    at <parse> (:0)\n    at parse (unknown)\n    at Zwq (/$bunfs/root/src/entrypoints/cli.js:182:10088)\n    at O (/$bunfs/root/src/entrypoints/cli.js:138:18426)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:184:1658)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:5263:743)\n    at map (native:1:11)\n    at A2_ (/$bunfs/root/src/entrypoints/cli.js:5263:561)\n    at wEK (/$bunfs/root/src/entrypoints/cli.js:9082:11725)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-15T17:46:01.557Z"},{"error":"SyntaxError: JSON Parse error: Unrecognized token '<'\n    at <parse> (:0)\n    at parse (unknown)\n    at Zwq (/$bunfs/root/src/entrypoints/cli.js:182:10088)\n    at O (/$bunfs/root/src/entrypoints/cli.js:138:18426)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:184:1658)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:5263:743)\n    at map (native:1:11)\n    at A2_ (/$bunfs/root/src/entrypoints/cli.js:5263:561)\n    at wEK (/$bunfs/root/src/entrypoints/cli.js:9082:11725)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-15T17:47:43.109Z"},{"error":"McpToolCallError: MCP error -32602: Input validation error: Invalid arguments for tool perplexity_research: [\n  {\n    \"code\": \"invalid_type\",\n    \"expected\": \"array\",\n    \"received\": \"undefined\",\n    \"path\": [\n      \"messages\"\n    ],\n    \"message\": \"Required\"\n  }\n]\n    at R53 (/$bunfs/root/src/entrypoints/cli.js:4977:63)\n    at e_K (/$bunfs/root/src/entrypoints/cli.js:4977:1409)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-15T17:47:43.139Z"},{"error":"Error: Connection error.\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:51:6803)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-16T09:16:17.344Z"},{"error":"Error: 500 {\"type\":\"error\",\"error\":{\"type\":\"api_error\",\"message\":\"Internal server error\"},\"request_id\":\"req_011Cb6h12JYrceQwY2U9mago\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:62015)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:51:7694)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-16T18:05:09.335Z"},{"error":"Error: 500 {\"type\":\"error\",\"error\":{\"type\":\"api_error\",\"message\":\"Internal server error\"},\"request_id\":\"req_011Cb6hEpUYKnMhKi4Epg17Z\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:62015)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:51:7694)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-16T18:08:15.301Z"},{"error":"Error: 500 {\"type\":\"error\",\"error\":{\"type\":\"api_error\",\"message\":\"Internal server error\"},\"request_id\":\"req_011Cb6hGcjuPULam9kWAiD6Q\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:62015)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:51:7694)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-16T18:08:39.878Z"},{"error":"Error: 500 {\"type\":\"error\",\"error\":{\"type\":\"api_error\",\"message\":\"Internal server error\"},\"request_id\":\"req_011Cb6hWMS3Wf8Z7EiE1rsH4\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:62015)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:51:7694)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-16T18:11:45.739Z"}]

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗