[BUG] API Error: 401 OAuth Token issue

Resolved 💬 2 comments Opened Jul 24, 2025 by heathermharmon Closed Jul 24, 2025

Environment

  • Platform (select one):
  • [x] Anthropic API
  • [ ] AWS Bedrock
  • [ ] Google Vertex AI
  • [ ] Other: <!-- specify -->
  • Claude CLI version: <!-- output of claude --version -->
  • Operating System: AlmaLinux v9.6.0 STANDARD kvm
  • Terminal: WHM Terminal

Bug Description

Unresponsive to commands, no matter what returns API Error: 401 {"type":"error","error":{"type":"authentication_error","message":"OAuth token has expired. Please obtain a new
token or refresh your existing token."}}

Steps to Reproduce

  1. Login
  2. Type any command

Expected Behavior

Respond to commands.

Actual Behavior

Unresponsive to commands, no matter what returns API Error: 401 {"type":"error","error":{"type":"authentication_error","message":"OAuth token has expired. Please obtain a new
token or refresh your existing token."}}

Additional Context

API Error: 401 {"type":"error","error":{"type":"authentication_error","message":"OAuth token has expired. Please obtain a new token or refresh your existing token."}}

View original on GitHub ↗

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