⎿  API Error: 500 {"type":"error","error":{"type":"api_err...

Resolved 💬 7 comments Opened Apr 15, 2026 by Nickcom4 Closed May 25, 2026

Bug Description
⎿  API Error: 500 {"type":"error","error":{"type":"api_error","message":"Internal server error"},"request_id":"req_011Ca5jUD8RzY8U4HDD9GyWk"}

Environment Info

  • Platform: darwin
  • Terminal: kitty
  • Version: 2.1.101
  • Feedback ID: feb3dbf7-0840-4c38-9f78-467f96d56445

Errors

[{"error":"SyntaxError: Bad control character in string literal in JSON at position 121 (line 1 column 122)\n    at JSON.parse (<anonymous>)\n    at XB7 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:168:10090)\n    at Y (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:132:18186)\n    at Object.assign.cache (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:170:1133)\n    at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:5032:736\n    at Array.map (<anonymous>)\n    at E38 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:5032:553)\n    at ssK (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:8185:7481)\n    at process.processTicksAndRejections (node:internal/process/task_queues:103:5)\n    at async file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:8180:8065","timestamp":"2026-04-15T10:22:12.598Z"},{"error":"Error: Error normalizing tool input: ZodError: [\n  {\n    \"expected\": \"string\",\n    \"code\": \"invalid_type\",\n    \"path\": [\n      \"file_path\"\n    ],\n    \"message\": \"Invalid input: expected string, received undefined\"\n  },\n  {\n    \"expected\": \"string\",\n    \"code\": \"invalid_type\",\n    \"path\": [\n      \"old_string\"\n    ],\n    \"message\": \"Invalid input: expected string, received undefined\"\n  },\n  {\n    \"expected\": \"string\",\n    \"code\": \"invalid_type\",\n    \"path\": [\n      \"new_string\"\n    ],\n    \"message\": \"Invalid input: expected string, received undefined\"\n  }\n]\n    at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:5032:1000\n    at Array.map (<anonymous>)\n    at E38 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:5032:553)\n    at ssK (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:8185:7481)\n    at process.processTicksAndRejections (node:internal/process/task_queues:103:5)\n    at async file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:8180:8065\n    at async V97 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:4711:2519)\n    at async Object.Rb6 [as callModel] (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:8180:8035)\n    at async mWY (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:4284:11603)\n    at async yy (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:4284:7660)","timestamp":"2026-04-15T10:22:12.598Z"},{"error":"Error: Failed to delete keychain entry: security: SecKeychainSearchCopyNext: The specified item could not be found in the keychain.\n    at UHq (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:297:269954)\n    at process.processTicksAndRejections (node:internal/process/task_queues:103:5)\n    at async zpq (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:476:889)\n    at async fR1 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:476:787)\n    at async Iq8 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3074:2123)\n    at async qX6 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3099:5687)\n    at async file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3168:3250","timestamp":"2026-04-15T11:44:19.587Z"},{"error":"Error: Request was aborted.\n    at _S8 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1530:12074)\n    at _S8.next (<anonymous>)\n    at rsK (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:8180:9116)\n    at rsK.next (<anonymous>)\n    at ssK (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:8185:11401)\n    at process.processTicksAndRejections (node:internal/process/task_queues:103:5)\n    at async file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:8180:8065\n    at async V97 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:4711:2519)\n    at async Object.Rb6 [as callModel] (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:8180:8035)\n    at async mWY (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:4284:11603)","timestamp":"20…

Note: Content was truncated.

View original on GitHub ↗

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