Anthropic API Authentication Failure in Claude Code CLI

Resolved 💬 3 comments Opened Aug 21, 2025 by Hulk810154 Closed Aug 22, 2025

Bug Description

│ cwd: /data/data/com.termux/files/home │
╰───────────────────────────────────────────────────╯

Tips for getting started:
Run /init to create a CLAUDE.md file with instructions for Claude
Use Claude to help with file analysis, editing, bash commands and git
Be as specific as you would with another engineer for the best results

Note: You have launched claude in your home directory. For the best experience,
launch it in a project directory instead.

/agents

⎿  (no content)

check system for messages in regards to project live mode then start

working on it and tell me what gemini did with the project at the end tell
me all changes made pro jevt has to
⎿ API Error: 401
{"type":"error","error":{"type":"authentication_error","message":"OAuth
authentication is currently not
supported."},"request_id":"req_011CSLmrd1GSdR44BxStKMZd"}

work

⎿ API Error: 401
{"type":"error","error":{"type":"authentication_error","message":"OAuth
authentication is currently not
supported."},"request_id":"req_011CSLmsTq9DsrRLAXmdEvJ2"}

/login

⎿  Login successful

debug system your cli application and geminis cli application are messing

up find out y and fix it
⎿ API Error: 401
{"type":"error","error":{"type":"authentication_error","message":"OAuth
authentication is currently not
supported."},"request_id":"req_011CSLn53msGMpZHz7veRL8e"}

Environment Info

  • Platform: linux
  • Terminal: xterm-256color
  • Version: 1.0.85
  • Feedback ID: bb9d2de7-f58c-4901-9b52-9fc1955127bc

Errors

[{"error":"Error: spawn /data/data/com.termux/files/usr/lib/node_modules/@anthropic-ai/claude-code/vendor/ripgrep/arm64-android/rg ENOENT\n    at ChildProcess._handle.onexit (node:internal/child_process:286:19)\n    at onErrorNT (node:internal/child_process:484:16)\n    at process.processTicksAndRejections (node:internal/process/task_queues:90:21)","timestamp":"2025-08-21T10:56:14.497Z"},{"error":"Error: 401 {\"type\":\"error\",\"error\":{\"type\":\"authentication_error\",\"message\":\"OAuth authentication is currently not supported.\"},\"request_id\":\"req_011CSLmrd1GSdR44BxStKMZd\"}\n    at j4.generate (file:///data/data/com.termux/files/usr/lib/node_modules/@anthropic-ai/claude-code/cli.js:932:2447)\n    at bP.makeStatusError (file:///data/data/com.termux/files/usr/lib/node_modules/@anthropic-ai/claude-code/cli.js:949:2101)\n    at bP.makeRequest (file:///data/data/com.termux/files/usr/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 UD1.showErrors (file:///data/data/com.termux/files/usr/lib/node_modules/@anthropic-ai/claude-code/cli.js:1904:27238)\n    at async UD1 (file:///data/data/com.termux/files/usr/lib/node_modules/@anthropic-ai/claude-code/cli.js:1904:16345)\n    at async v9B (file:///data/data/com.termux/files/usr/lib/node_modules/@anthropic-ai/claude-code/cli.js:1904:27089)\n    at async file:///data/data/com.termux/files/usr/lib/node_modules/@anthropic-ai/claude-code/cli.js:1904:22183\n    at async yH0 (file:///data/data/com.termux/files/usr/lib/node_modules/@anthropic-ai/claude-code/cli.js:1904:3514)\n    at async F11 (file:///data/data/com.termux/files/usr/lib/node_modules/@anthropic-ai/claude-code/cli.js:1904:22153)","timestamp":"2025-08-21T11:26:57.102Z"},{"error":"SyntaxError: Unexpected token 'I', \"I apologiz\"... is not valid JSON\n    at JSON.parse (<anonymous>)\n    at file:///data/data/com.termux/files/usr/lib/node_modules/@anthropic-ai/claude-code/cli.js:718:9932\n    at Q (file:///data/data/com.termux/files/usr/lib/node_modules/@anthropic-ai/claude-code/cli.js:677:13339)\n    at Bs2 (file:///data/data/com.termux/files/usr/lib/node_modules/@anthropic-ai/claude-code/cli.js:1061:1992)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-08-21T11:26:59.243Z"},{"error":"Error: 401 {\"type\":\"error\",\"error\":{\"type\":\"authentication_error\",\"message\":\"OAuth authentication is currently not supported.\"},\"request_id\":\"req_011CSLmsTq9DsrRLAXmdEvJ2\"}\n    at j4.generate (file:///data/data/com.termux/files/usr/lib/node_modules/@anthropic-ai/claude-code/cli.js:932:2447)\n    at bP.makeStatusError (file:///data/data/com.termux/files

Note: Error logs were truncated.

View original on GitHub ↗

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