API Request Fails with 500 Internal Server Error

Resolved 💬 1 comment Opened Jul 8, 2025 by rmaher001 Closed Jul 8, 2025

Bug Description
Unable to continue, getting: API Error: 500 {"type":"error","error":{"type":"api_error","message":"Internal server error"}}

Environment Info

  • Platform: darwin
  • Terminal: vscode
  • Version: 1.0.43
  • Feedback ID: 161ba556-c8e4-46f5-8826-77cc63fbfe82

Errors

[{"error":"Error: Command failed: security find-generic-password -a $USER -w -s \"Claude Code\"\nsecurity: SecKeychainSearchCopyNext: The specified item could not be found in the keychain.\n\n    at genericNodeError (node:internal/errors:983:15)\n    at wrappedFn (node:internal/errors:537:14)\n    at checkExecSyncError (node:child_process:882:11)\n    at execSync (node:child_process:954:15)\n    at ED (file:///Users/rmaher/.nvm/versions/node/v22.16.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:702:3921)\n    at file:///Users/rmaher/.nvm/versions/node/v22.16.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:623:9038\n    at Q (file:///Users/rmaher/.nvm/versions/node/v22.16.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:526:13327)\n    at hJ (file:///Users/rmaher/.nvm/versions/node/v22.16.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:623:8184)\n    at S_ (file:///Users/rmaher/.nvm/versions/node/v22.16.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:623:7265)\n    at NB (file:///Users/rmaher/.nvm/versions/node/v22.16.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:623:11432)","timestamp":"2025-07-07T22:09:12.139Z"},{"error":"Error: Request was aborted.\n    at bq.makeRequest (file:///Users/rmaher/.nvm/versions/node/v22.16.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1334:3838)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-07-07T22:11:06.354Z"},{"error":"Error: 500 {\"type\":\"error\",\"error\":{\"type\":\"api_error\",\"message\":\"Internal server error\"}}\n    at C6.generate (file:///Users/rmaher/.nvm/versions/node/v22.16.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1317:12815)\n    at bq.makeStatusError (file:///Users/rmaher/.nvm/versions/node/v22.16.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1334:2100)\n    at bq.makeRequest (file:///Users/rmaher/.nvm/versions/node/v22.16.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1334:5311)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async jA1.showErrors (file:///Users/rmaher/.nvm/versions/node/v22.16.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1703:23044)\n    at async jA1 (file:///Users/rmaher/.nvm/versions/node/v22.16.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1703:12633)\n    at async lR2 (file:///Users/rmaher/.nvm/versions/node/v22.16.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1703:22894)\n    at async file:///Users/rmaher/.nvm/versions/node/v22.16.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1703:18023\n    at async G0A (file:///Users/rmaher/.nvm/versions/node/v22.16.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1703:5121)\n    at async Xc (file:///Users/rmaher/.nvm/versions/node/v22.16.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1703:17993)","timestamp":"2025-07-07T22:24:51.611Z"},{"error":"Error: 500 {\"type\":\"error\",\"error\":{\"type\":\"api_error\",\"message\":\"Internal server error\"}}\n    at C6.generate (file:///Users/rmaher/.nvm/versions/node/v22.16.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1317:12815)\n    at bq.makeStatusError (file:///Users/rmaher/.nvm/versions/node/v22.16.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1334:2100)\n    at bq.makeRequest (file:///Users/rmaher/.nvm/versions/node/v22.16.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1334:5311)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async jA1.showErrors (file:///Users/rmaher/.nvm/versions/node/v22.16.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1703:23044)\n    at async jA1 (file:///Users/rmaher/.nvm/versions/node/v22.16.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1703:12633)\n    at async lR2 (file:///Users/rmaher/.nvm/versions/node/v22.16.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1703:22894)\n    at async file:///Users/rmaher/.nvm/versions/node/v22.16.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1703:18023\n    at async G0A (file:///Users/rmaher/.nvm/versions/node/v22.16.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1703:5121)\n    at async Xc (file:///Users/rmaher/.nvm/versions/node/v22.16.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1703:17993)","timestamp":"2025-07-07T22:25:22.358Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n    at RF (file:///Users/rmaher/.nvm/versions/node/v22.16.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1491:1184)\n    at file:///Users/rmaher/.nvm/versions/node/v22.16.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1491:912\n    at Array.map (<anonymous>)\n    at WE (file://

Note: Error logs were truncated.

View original on GitHub ↗

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