Bug Report

Resolved 💬 2 comments Opened Jul 14, 2025 by FlyRuningOstrich Closed Nov 30, 2025

Bug Description

Environment Info

  • Platform: darwin
  • Terminal: iTerm.app
  • Version: 1.0.51
  • Feedback ID:

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:924:11)\n    at execSync (node:child_process:996:15)\n    at eD (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:712:4489)\n    at file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:624:13989\n    at Q (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:526:14406)\n    at QF (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:624:13129)\n    at cC (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:624:11995)\n    at qB (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:624:16609)","timestamp":"2025-07-14T04:10:33.639Z"},{"error":"RangeError [ERR_CHILD_PROCESS_STDIO_MAXBUFFER]: stdout maxBuffer length exceeded\n    at Socket.onChildStdout (node:child_process:484:14)\n    at Socket.emit (node:events:507:28)\n    at Socket.emit (node:domain:489:12)\n    at addChunk (node:internal/streams/readable:559:12)\n    at readableAddChunkPushByteMode (node:internal/streams/readable:510:3)\n    at Readable.push (node:internal/streams/readable:390:5)\n    at Pipe.onStreamRead (node:internal/stream_base_commons:189:23)","timestamp":"2025-07-14T04:10:34.737Z"},{"error":"Error: 400 status code (no body)\n    at Z6.generate (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:1315:12578)\n    at iq.makeStatusError (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:1332:2100)\n    at iq.makeRequest (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:1332:5311)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-07-14T04:10:40.398Z"},{"error":"SyntaxError: Unexpected token 'A', \"API Error:\"... is not valid JSON\n    at JSON.parse (<anonymous>)\n    at file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:619:9923\n    at Q (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:526:14406)\n    at LN2 (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:1348:10474)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-07-14T04:10:40.402Z"},{"error":"Error: 502 status code (no body)\n    at Z6.generate (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:1315:12815)\n    at iq.makeStatusError (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:1332:2100)\n    at iq.makeRequest (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:1332:5311)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async tA1.showErrors (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:1706:23178)\n    at async tA1 (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:1706:12720)\n    at async oO2 (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:1706:23029)\n    at async file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:1706:18138\n    at async c0A (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:1706:5121)\n    at async Tc (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:1706:18108)","timestamp":"2025-07-14T04:14:18.851Z"},{"error":"Error: 400 status code (no body)\n    at Z6.generate (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:1315:12578)\n    at iq.makeStatusError (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:1332:2100)\n    at iq.makeRequest (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:1332:5311)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-07-14T04:15:13.889Z"},{"error":"Error: {\"stack\":\"Error: PeriodicExportingMetricReader: metrics export failed (error Error: No API key available)\\n    at gf0._doRun (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:279:154325)\\n    at async gf0._runOnce (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:279:153577)\",\"message\":\"PeriodicExportingMetricReader: metrics export failed (error Error: No API key available)\",\"name\":\"Error\"}\n    at Bn1.error (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:731:28304)\n    at zm1.error (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:279:14930)\n    at file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:279:63772\n    at Object.f5Q (file:///usr/local/lib/node_modules/@anthropic-ai/

Note: Error logs were truncated.

View original on GitHub ↗

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