[BUG] Session timeout

Resolved 💬 2 comments Opened Oct 6, 2025 by csicky Closed Oct 6, 2025

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 open the thing and says 401. Yesterday it was fine.

What Should Happen?

Remember me, I am not working in an internet cafe for it to keep logging out.

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."},"request_id":"req_011CTqjiehqf9jjmtJqZvBkH"} · Please run /login

Steps to Reproduce

Work in the app. Go away. Come back tomorrow or another day. Kicked out.

Claude Model

None

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

--version 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_011CTqjyqGVxjGnsT6gFHZN4"} · Please run /login

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

I use multiple machines, I work on both Windows and Mac, one time in one another in the other does that matter? Why is it asking to be logged in to give me the version?

View original on GitHub ↗

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