[BUG] Claude code version npm-global (1.0.128), vs code plugin, constantly disconnected and request for re-login

Resolved 💬 6 comments Opened Oct 3, 2025 by chaihwee79 Closed Jan 10, 2026

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?

hi

while using the latest claude code version - npm-global (1.0.128), in VS code.

i noticed it frequently disconnected and request me to relogin

thanks

What Should Happen?

Claude code should not request for the relogin

Error Messages/Logs

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. update the VS code plugin to the latest version
  2. restart the extension
  3. launch Claude code
  4. the Claude code will be prompting for reauthentication

Claude Model

Sonnet (default)

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

1.0.128

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

_No response_

View original on GitHub ↗

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