I launched Cursor in existing project, and for any sentence in agent chat received this messages “Authentication error.If you are logged in, try logging out and back in.” I repeated several times - Log out / Log in.
Hey @ANSRENTALS, thanks for the report, and sorry for the disruption.
Your account is in good standing and your sign-ins on the website are going through. It also looks like your most recent sign-in may have already taken, since a chat request went through successfully shortly after you posted. Can you confirm whether chat is working for you now?
I get the issue in the Cursor app that I use to edit my web site code.
I am logged in nut I keep getting the message below.
I am on the Pro plan and believe my payments are up to date. It was working fine until 24th August when I last used it but came back to it yesterday and now cannot access it.
Is uninstalling the app worth a try?
Regards
Michael
Authentication error.If you are logged in, try logging out and back in.”
Request ID: d3a84d19-b017-4cf3-b797-b0eb353b2030
{“error”:“ERROR_NOT_LOGGED_IN”,“details”:{“title”:“Authentication error”,“detail”:“If you are logged in, try logging out and back in.”,“isRetryable”:false,“additionalInfo”:{},“buttons”:,“planChoices”:,“analyticsMetadata”:{“actionRequired”:“login”}},“isExpected”:true}
Authentication error If you are logged in, try logging out and back in.
ActionRequiredError: Authentication error If you are logged in, try logging out and back in.
at wwf (vscode-file://vscode-app/c:/Users/MichaelBroomSmith/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:8042:131231)
at tqs (vscode-file://vscode-app/c:/Users/MichaelBroomSmith/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:8042:130070)
at Gwf (vscode-file://vscode-app/c:/Users/MichaelBroomSmith/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:8043:13645)
at Object.classify (vscode-file://vscode-app/c:/Users/MichaelBroomSmith/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:8043:17843)
at Uwf (vscode-file://vscode-app/c:/Users/MichaelBroomSmith/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:8043:5924)
at async pqs.run (vscode-file://vscode-app/c:/Users/MichaelBroomSmith/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:8043:17165)
at async fce.runAgentLoop (vscode-file://vscode-app/c:/Users/MichaelBroomSmith/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:8143:34413)
at async qIo.streamFromAgentBackend (vscode-file://vscode-app/c:/Users/MichaelBroomSmith/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:17461:15117)
at async qIo.getAgentStreamResponse (vscode-file://vscode-app/c:/Users/MichaelBroomSmith/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:17461:34036)
at async qIe._submitChatMaybeAbortCurrent (vscode-file://vscode-app/c:/Users/MichaelBroomSmith/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:8121:4529)
Hey Michael, thanks for the request ID, that helped a lot!
That request did reach our servers, and it shows exactly what is happening. The Cursor app on your PC is holding on to an old signed-in session that has expired, so every request it sends gets rejected, even though the app still shows you as logged in
Please try this:
In Cursor, open Settings (gear icon in the top right), scroll to the bottom and Sign Out.
Fully quit Cursor: right-click the Cursor icon in the Windows system tray (bottom right, near the clock) and choose Quit. Closing the window is not enough.
Reopen Cursor and click Sign In.
Complete the sign-in in your browser and wait for it to send you back into the Cursor app.
Once you are back in the app, immediately send a short message in chat.
@Colin these steps can fix temporary,but it just helpful in only one message or a short time, once i continue chat with ai or stay more than a few minute, show "Authentication error… " again,so i need to logout and login frequently…
What you’re describing (signing out and back in fixes it for a message or a few minutes, then the Authentication error comes back) is a known issue we’re tracking, and I’ve added your reports to it.
@Mrsamber9875, your Cursor is on a much older version (3.14.7), and newer versions include fixes in this area. Please try this:
In Cursor, open Help > Check for Updates and install the latest version.
Fully quit Cursor: right-click the Cursor icon in the Windows system tray (bottom right, near the clock) and choose Quit.
Reopen Cursor, open Settings (gear icon, top right), click Sign Out, then Sign In again.
Use chat normally for 15 to 20 minutes.
If the error comes back after updating, open the failed message’s menu in chat, choose Copy Request ID, and reply here with that ID, the time it happened, and your Cursor version (Help > About).
@Lee_Patricia, if this is still happening for you, the same steps and details would help.