Bug Report I have tried to give command Claude Code its start to work and after generating some tokens it stopped automatically without saying anything
Bug Description
Environment Info
- Platform: darwin
- Terminal: cursor
- Version: 1.0.54
- Feedback ID: 7472e5f0-87ec-4afb-9a1e-de5b3f25dbe7
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 DI (file:///Users/mdshahabulalam/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:730:2037)\n at file:///Users/mdshahabulalam/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:640:41635\n at Q (file:///Users/mdshahabulalam/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:542:14406)\n at PF (file:///Users/mdshahabulalam/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:640:39420)\n at $X (file:///Users/mdshahabulalam/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:640:38286)\n at MB (file:///Users/mdshahabulalam/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:640:44255)","timestamp":"2025-07-17T04:48:11.282Z"},{"error":"Error: Command failed: security delete-generic-password -a $USER -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 DI (file:///Users/mdshahabulalam/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:730:2037)\n at JY0 (file:///Users/mdshahabulalam/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:640:42747)\n at WY0 (file:///Users/mdshahabulalam/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:640:42621)\n at C3A (file:///Users/mdshahabulalam/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1765:2567)\n at kB1.startOAuthFlow (file:///Users/mdshahabulalam/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1765:3733)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-07-17T04:48:41.289Z"},{"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 DI (file:///Users/mdshahabulalam/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:730:2037)\n at file:///Users/mdshahabulalam/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:640:41635\n at Q (file:///Users/mdshahabulalam/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:542:14406)\n at PF (file:///Users/mdshahabulalam/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:640:39420)\n at $X (file:///Users/mdshahabulalam/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:640:38286)\n at MB (file:///Users/mdshahabulalam/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:640:44255)","timestamp":"2025-07-17T04:48:41.353Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"messages.0: all messages must have non-empty content except for the optional final assistant message\"}}\n at A6.generate (file:///Users/mdshahabulalam/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1182:6428)\n at c$.makeStatusError (file:///Users/mdshahabulalam/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1199:2101)\n at c$.makeRequest (file:///Users/mdshahabulalam/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1199:5315)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-07-17T04:57:45.920Z"}]
I'm experiencing the same thing. I think it started around midnight EST.
same
Thanks lot
On Wed, Jul 16, 2025, 10:13 PM Siyang Shen @.***> wrote:
kumamonlove left a comment (anthropics/claude-code#3789) https://github.com/anthropics/claude-code/issues/3789#issuecomment-3082541308
same
— Reply to this email directly, view it on GitHub https://github.com/anthropics/claude-code/issues/3789#issuecomment-3082541308, or unsubscribe https://github.com/notifications/unsubscribe-auth/BB64LJALKTLAQVNEOMZXYQ33I4WHHAVCNFSM6AAAAACBWWGJFCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTAOBSGU2DCMZQHA . You are receiving this because you authored the thread.Message ID: @.***>
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.