[Bug] OAuth token expiration causing repeated 401 authentication errors during active sessions

Open 💬 10 comments Opened Jan 14, 2026 by chrisvaillancourt

Bug Description
starting today, i keep getting a 401 error during my claude code sessions. i've been using claude code for months and only started getting this error today. I shouldn't need to re-run the /login command multiple times per day. i've gotten it 3 times in a <5 hour window. Error:

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

Environment Info

  • Platform: darwin
  • Terminal: WarpTerminal
  • Version: 2.1.7
  • Feedback ID: c92426b9-6bb2-454d-98ba-1facb71112ca

View original on GitHub ↗

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