Summary: My primary GitHub account (AnalyseDeCircuit / [email protected]) is stuck in a persistent 500 Internal Server Error during login.
Steps to Reproduce
Go to cursor.com/login.
Sign in via GitHub or Magic Link.
Result: Page returns 500 Error or 404 on /api/auth/me.
Expected Behavior
I should be able to log in to my paid GitHub Pro account without receiving a 500 error. I expect an engineer to manually purge the corrupted/conflicting user records associated with my GitHub ID and restore my access.
Operating System
Windows11
MacOS Sonoma
Current Cursor Version (Menu → About Cursor → Copy)
I have already tried the following troubleshooting steps without success:
Manual Cleanup: Cleared all local storage, cookies, and deleted ~/Library/Application Support/Cursor cache.
Account Cleanup: Set the iCloud email as primary and public on GitHub; removed redundant QQ emails.
OAuth Reset: Revoked Cursor’s access in GitHub settings and re-authorized multiple times.
Different Methods: Tried both GitHub OAuth and Magic Link; both result in the same 500 error.
Payment Reference:
Last 4 digits of Card: 7226
Billing Status: Successful payment on Jan 8th/9th, but received an automated marketing email saying I “didn’t complete the upgrade,” further proving a database sync failure.
Date: 2026-01-08
Amount: $20.79 USD
Card Ending In: 7226
Statement Description: CURSOR, AI POWERED IDE (Please see the attached screenshot for the bank record)
Note to Engineering: Please check the server logs for yjmsoleilune[at]icloud[dot]com(or yujiaming[at]shu[dot]edu[dot]cn). This is not a client-side issue; it’s a backend identity mapping deadlock.
Interestingly, my existing Windows session(through github,[email protected]) is still functional and can use AI features, but any attempt to log in via a browser (including Incognito) results in a 500 Error. This further proves that the Auth/Database service is broken, while the API/Token validation is still working with my cached session. Please fix the backend mapping for yjmsoleilune [at] icloud.com so I can manage my subscription!
I can access the ‘Upgrade to Ultra’ page without any issues , but my Dashboard and Subscription management pages still return a 500 Internal Server Error.
This proves your billing/marketing front-end is working, but your backend user-profile service is broken for my account (yjmsoleilune [at] icloud.com). Please fix this so I can at least manage the Pro subscription I’ve already paid for twice!"
I have captured the Console Error showing StatsigUser not found. This is a definitive backend failure. If not fixed 48h, I will try to initiate an ICBC chargeback.
Hey, I can see the screenshots and the console errors. This looks like the same issue as in this thread: Login broken on website and app. When your primary email on GitHub changes, it can cause a mismatch between the auth systems.
You mentioned you changed your email on GitHub (removed QQ and set iCloud as primary). That’s what’s triggering the 500 error. Cursor doesn’t support changing the original email yet, and when GitHub syncs the new one, the database ends up in a bad state.
Correction on the timeline, Dean: The 500 error and login failure occurred BEFORE I made any changes to my GitHub emails (deleting QQ or changing privacy).
From day one, Cursor incorrectly displayed my secondary education email ([email protected]) as my main account, even though iCloud was my primary GitHub email. This proves the mismatch and ‘bad state’ existed in your database from the moment of my first login.
The fact that it crashed while my GitHub settings were still original confirms this is a systemic bug in Cursor’s auth-sync logic, not a user-induced error. Please manually fix this backend mismatch.Thanks!