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 , reintsll ide, clear cach - nothing! I’ve Pro plan.
Steps to Reproduce
Any messages in agent chat raise this error “Authentication error. Log out / Log in back”
Hey, thanks for the report. On Windows this is almost always something you can fix locally, and the first thing to check is your system clock. Even being off by a couple of hours can break token validation and cause exactly this error even if you’re signed in.
Try these steps in order:
Sync your Windows clock: Settings > Time & language > Date & time > Sync now. This fixed the same issue for other users.
Remove any custom Base URL if you set one: Cursor Settings > Models > disable the overridden Base URL.
Fully quit Cursor, not just close the window, then open it again. After that, sign out in Cursor Settings and sign back in.
Run Cursor Settings > Network > Run Diagnostics. This helps rule out a proxy, VPN, or antivirus that’s stripping the Authorization header.
Start with step 1, it’s the most common cause. Let me know how it goes. If it still doesn’t help, send the Request ID Chat menu in the top right > Copy Request ID and we can dig deeper.