User unauthorized. Can't use agents

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Can’t use any Cursor agents from today. Was fine in the morning

Steps to Reproduce

Type anytning to agent

Operating System

Windows 10/11

Version Information

Version: 3.5.38 (user setup)
VSCode Version: 1.105.1
Commit: 009bb5a3600dd98fe1c1f25798f767f686e14750
Date: 2026-05-26T21:32:06.537Z
Layout: editor
Build Type: Stable
Release Track: Default
Electron: 39.8.1
Chromium: 142.0.7444.265
Node.js: 22.22.1
V8: 14.2.231.22-electron.0
OS: Windows_NT x64 10.0.19045

For AI issues: which model did you use?

Any model.

For AI issues: add Request ID with privacy disabled

Request ID: 7a33be44-20db-43d6-bcee-faa1c18e34d1
{“error”:“ERROR_UNAUTHORIZED”,“details”:{“title”:“Unauthorized request.”,“detail”:“User is unauthorized”,“isRetryable”:false,“additionalInfo”:{},“buttons”:,“planChoices”:,“analyticsMetadata”:{“actionRequired”:“login”}},“isExpected”:true}
Unauthorized request. User is unauthorized
Iyn: Unauthorized request. User is unauthorized
at Fpk (vscode-file://vscode-app/c:/Users/user/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:35852:26435)
at NDw (vscode-file://vscode-app/c:/Users/user/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:35852:25580)
at Gpk (vscode-file://vscode-app/c:/Users/user/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:35853:6852)
at hmf.run (vscode-file://vscode-app/c:/Users/user/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:35853:11731)
at async qZs.runAgentLoop (vscode-file://vscode-app/c:/Users/user/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:48220:22008)
at async OKf.streamFromAgentBackend (vscode-file://vscode-app/c:/Users/user/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:48288:12345)
at async OKf.getAgentStreamResponse (vscode-file://vscode-app/c:/Users/user/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:48288:19576)
at async Vyn.submitChatMaybeAbortCurrent (vscode-file://vscode-app/c:/Users/user/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:35985:17397)
at async zh (vscode-file://vscode-app/c:/Users/user/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:47271:3889)

Does this stop you from using Cursor

Yes - Cursor is unusable

Hey, this looks like an auth issue. The backend sees the request as unauthorized and asks you to log in again. In similar cases, it’s usually one of two things: your system time is out of sync, or your token has expired.

Try these in order:

  1. Make sure Windows system time is synced: Settings > Time & language > Date & time > Sync now. Even a couple hours of drift can trigger this error.
  2. In Cursor: Ctrl+Shift+P > Cursor: Sign Out, then sign back into your account.
  3. Fully restart Cursor.

If the error still happens after that, tell me and we’ll check on the account side.

Thank you, didn’t know a unsynced time could mess with it!
Solved!