I have Max plan but I see error " Please run /login · API...

Resolved 💬 3 comments Opened Apr 9, 2026 by mbuon Closed Apr 13, 2026

Bug Description
I have Max plan but I see error " Please run /login · API Error: 401 {"error":{"type":"authentication_error","message":"The API Key appears to be invalid or may have expired. Please verify your
credentials and try again."},"type":"error"}"

Environment Info

  • Platform: darwin
  • Terminal: iTerm.app
  • Version: 2.1.98
  • Feedback ID: d962bad4-e9b4-4d72-b171-228fd9a82be8

Errors

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/massimo/.local/share/claude/versions/2.1.98 (expected in multi-process scenarios)\n    at BU_ (/$bunfs/root/src/entrypoints/cli.js:2810:2153)\n    at Ht6 (/$bunfs/root/src/entrypoints/cli.js:2810:1233)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-09T21:06:04.352Z"},{"error":"Error: 401 {\"error\":{\"type\":\"authentication_error\",\"message\":\"The API Key appears to be invalid or may have expired. Please verify your credentials and try again.\"},\"type\":\"error\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:52438)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-09T21:09:38.559Z"},{"error":"Error: Failed to delete keychain entry: security: SecKeychainSearchCopyNext: The specified item could not be found in the keychain.\n    at L3q (/$bunfs/root/src/entrypoints/cli.js:249:281165)\n    at async YCq (/$bunfs/root/src/entrypoints/cli.js:402:898)\n    at async VN6 (/$bunfs/root/src/entrypoints/cli.js:402:796)\n    at async k6_ (/$bunfs/root/src/entrypoints/cli.js:2786:2083)\n    at async iDH (/$bunfs/root/src/entrypoints/cli.js:2811:5698)\n    at async <anonymous> (/$bunfs/root/src/entrypoints/cli.js:2880:3255)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-09T21:17:32.564Z"},{"error":"Error: Request was aborted.\n    at $p6 (/$bunfs/root/src/entrypoints/cli.js:1245:17529)\n    at $ (/$bunfs/root/src/entrypoints/cli.js:401:2431)\n    at abort (unknown)\n    at vJH (/$bunfs/root/src/entrypoints/cli.js:8169:7241)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:8133:5046)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:1433:69331)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:525:4914)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:525:4087)\n    at emit (/$bunfs/root/src/entrypoints/cli.js:463:16068)\n    at hx4 (/$bunfs/root/src/entrypoints/cli.js:495:1437)","timestamp":"2026-04-09T21:20:57.724Z"},{"error":"Error: Failed to delete keychain entry: security: SecKeychainSearchCopyNext: The specified item could not be found in the keychain.\n    at L3q (/$bunfs/root/src/entrypoints/cli.js:249:281165)\n    at async YCq (/$bunfs/root/src/entrypoints/cli.js:402:898)\n    at async VN6 (/$bunfs/root/src/entrypoints/cli.js:402:796)\n    at async k6_ (/$bunfs/root/src/entrypoints/cli.js:2786:2083)\n    at async iDH (/$bunfs/root/src/entrypoints/cli.js:2811:5698)\n    at async <anonymous> (/$bunfs/root/src/entrypoints/cli.js:2880:3255)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-09T21:21:09.494Z"},{"error":"Error: 401 {\"error\":{\"type\":\"authentication_error\",\"message\":\"The API Key appears to be invalid or may have expired. Please verify your credentials and try again.\"},\"type\":\"error\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:52438)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-09T21:28:47.574Z"},{"error":"Error: 401 {\"error\":{\"type\":\"authentication_error\",\"message\":\"The API Key appears to be invalid or may have expired. Please verify your credentials and try again.\"},\"type\":\"error\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:52438)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-09T21:32:24.640Z"}]

View original on GitHub ↗

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