Claude Code Authentication Failure with Pro Account
Resolved 💬 3 comments Opened Aug 21, 2025 by DocVincenzo Closed Aug 25, 2025
Bug Description
I cannot use Claude Code with my Claude Pro account
Environment Info
- Platform: darwin
- Terminal: Apple_Terminal
- Version: 1.0.86
- Feedback ID: a09c9f00-e2af-4d0b-9f66-4b06b8ae6085
Errors
[{"error":"Error: Could not resolve authentication method. Expected either apiKey or authToken to be set. Or for one of the \"X-Api-Key\" or \"Authorization\" headers to be explicitly omitted\n at file:///Users/vincenzopaolo/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:940:6454","timestamp":"2025-08-21T20:03:00.642Z"},{"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:518:28)\n at Socket.emit (node:domain:489:12)\n at addChunk (node:internal/streams/readable:561:12)\n at readableAddChunkPushByteMode (node:internal/streams/readable:512:3)\n at Readable.push (node:internal/streams/readable:392:5)\n at Pipe.onStreamRead (node:internal/stream_base_commons:189:23)","timestamp":"2025-08-21T20:03:01.242Z"},{"error":"Error: 404 {\"type\":\"error\",\"error\":{\"type\":\"not_found_error\",\"message\":\"model: claude\"},\"request_id\":\"req_011CSMTHqW5wu9cEkpaybnnP\"}\n at b4.generate (file:///Users/vincenzopaolo/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:932:2517)\n at dP.makeStatusError (file:///Users/vincenzopaolo/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:949:2101)\n at dP.makeRequest (file:///Users/vincenzopaolo/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:949:5315)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async LD1.showErrors (file:///Users/vincenzopaolo/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1904:27238)\n at async LD1 (file:///Users/vincenzopaolo/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1904:16345)\n at async l9B (file:///Users/vincenzopaolo/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1904:27089)\n at async file:///Users/vincenzopaolo/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1904:22183\n at async dH0 (file:///Users/vincenzopaolo/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1904:3514)\n at async V11 (file:///Users/vincenzopaolo/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1904:22153)","timestamp":"2025-08-21T20:04:04.880Z"}]This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗