[BUG]

Open 💬 3 comments Opened Jun 20, 2026 by pps-official

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

i was starting a new session and this error message came up: Please run /login · API Error: 401 Invalid
authentication credentials. i have repeatedly following the account authentication steps and pasted the
authorisation code, but it loops back to the same error message again and again

What Should Happen?

the session should begin as usual, not keep requesting login authorisation

Error Messages/Logs

Please run /login · API Error: 401 Invalid authentication credentials

Steps to Reproduce

no clue

Claude Model

Sonnet (default)

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

Claude Code version is 2.1.183

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

PowerShell

Additional Information

_No response_

View original on GitHub ↗

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