Login worked, but it’s still returning a 401 error:

Resolved 💬 8 comments Opened Nov 23, 2025 by r44j-vadeghar Closed Jan 23, 2026

Bug Description

<img width="2162" height="612" alt="Image" src="https://github.com/user-attachments/assets/faf400f7-e3ef-4ab4-a95d-2697bcbf36b0" />

Login worked, but it’s still returning a 401 error: """API Error: 401 {"type":"error","error":{"type":"authentication_error","message":"Invalid OAuth token. The provided token was not found or is
malformed."},"request_id":"req_011CVQtNFGGoi4nCuZq5VURk"} · Please run /login"""

Environment Info

  • Platform: darwin
  • Terminal: vscode
  • Version: 2.0.50
  • Feedback ID: bd97f4d6-4316-43e8-8666-0cf602fda287

Errors

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/rajvadeghar/.local/share/claude/versions/2.0.50 (expected in multi-process scenarios)\n    at JL0 (/$bunfs/root/claude:2641:1622)\n    at g_A (/$bunfs/root/claude:2641:1300)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-11-23T13:11:04.521Z"},{"error":"Error: 401 {\"type\":\"error\",\"error\":{\"type\":\"authentication_error\",\"message\":\"Invalid OAuth token. The provided token was not found or is malformed.\"},\"request_id\":\"req_011CVQsqUj2yNLXo4jxc3L5U\"}\n    at generate (/$bunfs/root/claude:353:36525)\n    at makeRequest (/$bunfs/root/claude:1259:5434)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-11-23T13:11:07.692Z"},{"error":"Error: 500 {\"type\":\"error\",\"error\":{\"type\":\"api_error\",\"message\":\"Internal server error\"},\"request_id\":\"req_011CVQsqUYsQY8tm6sYNR38j\"}\n    at generate (/$bunfs/root/claude:353:36733)\n    at makeRequest (/$bunfs/root/claude:1259:5434)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-11-23T13:11:12.740Z"},{"error":"Error: 401 {\"type\":\"error\",\"error\":{\"type\":\"authentication_error\",\"message\":\"Invalid OAuth token. The provided token was not found or is malformed.\"},\"request_id\":\"req_011CVQtNE373L64JCAMQT1DQ\"}\n    at generate (/$bunfs/root/claude:353:36525)\n    at makeRequest (/$bunfs/root/claude:1259:5434)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-11-23T13:18:04.822Z"},{"error":"SyntaxError: JSON Parse error: Expected '}'\n    at <parse> (:0)\n    at parse (unknown)\n    at <anonymous> (/$bunfs/root/claude:77:729)\n    at A (/$bunfs/root/claude:11:6606)\n    at cpB (/$bunfs/root/claude:1414:2201)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-11-23T13:18:04.823Z"},{"error":"Error: 401 {\"type\":\"error\",\"error\":{\"type\":\"authentication_error\",\"message\":\"Invalid OAuth token. The provided token was not found or is malformed.\"},\"request_id\":\"req_011CVQtNFGGoi4nCuZq5VURk\"}\n    at generate (/$bunfs/root/claude:353:36525)\n    at makeRequest (/$bunfs/root/claude:1259:5434)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-11-23T13:18:05.082Z"},{"error":"Error: 401 {\"type\":\"error\",\"error\":{\"type\":\"authentication_error\",\"message\":\"Invalid OAuth token. The provided token was not found or is malformed.\"},\"request_id\":\"req_011CVQtZa7eeAdvHDM6KhN3n\"}\n    at generate (/$bunfs/root/claude:353:36525)\n    at makeRequest (/$bunfs/root/claude:1259:5434)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-11-23T13:20:38.717Z"}]

View original on GitHub ↗

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