User Unauthorized Error

Getting User is Unauthorized when trying to prompt agent. Tried logging out, logging back in, etc. still no luck. I also have Pro Plan, on Mac, and Cursor is up to date. Any ideas?

[EDIT]: Also tried resetting local cache and uninstalling application + re-installing and no luck.

Request ID: 7621671f-0bc6-492d-867b-6269b5336d78
{“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
l5t: Unauthorized request. User is unauthorized
at Pf_ (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:29432:23999)
at Rf_ (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:29432:23144)
at Uf_ (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:29433:6490)
at q0h.run (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:29433:11307)
at async cQi.runAgentLoop (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:41748:12418)
at async Vnm.streamFromAgentBackend (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:41816:12344)
at async Vnm.getAgentStreamResponse (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:41816:19567)
at async lCt.submitChatMaybeAbortCurrent (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:29548:16906)
at async Va (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:40804:4230)

Hey David, thanks for the request ID. This looks like your Mac’s system clock is out of sync, which can cause Cursor to reject agent requests as unauthorized.

Can you try enabling automatic time sync in macOS?

System Settings → General → Date & Time → turn on “Set time and date automatically”

After that, restart Cursor and try the agent again. Logging out/reinstalling usually won’t fix this one if the local clock is still off.

This really needs a better error message, it took me a day of trying everything, to finally find this thread

Glad it worked out in the end.
There’s actually two possible underlying causes of this error. The time clock being off is the obvious one to fix, so that’s why we recommended it, but it’s not always the issue so we might not be able to say that in the error message.