How Do I Fix an Invalid referral code or link expired Error?
Getting an invalid code or expired link when you enter a referral code? Here's a step-by-step guide to checking capitalization errors, leftover leading or trailing spaces, extra parameters that cause truncation, and regenerating a standard usable link.
1. Three Common Technical Causes of the Error
1. Invisible spaces or line breaks accidentally included at the end when copying and pasting.
2. The inviter reset their personal referral code during this period, which invalidated the old code.
3. The browser URL field double-escaped special characters (such as %20).
2. Troubleshooting and Fix Steps
- Ask your friend to go back to cursor.com/settings, click Copy Link again, and get the latest link.
- We recommend pasting the complete URL, including the full protocol header (https://), directly into the browser address bar instead of manually typing the short code character by character.
- Clear all Storage cache for the current domain in your browser, then visit again.