Why does a friend see "We couldn't create your code"?
A friend sees We couldn't create your code when the referral pop-up cannot give them a code. For privacy, the pop-up never says which reason applied, and it never tells anyone whether a customer has ordered before. Use the list below to find the likely cause.
Checklist
| Situation | What the friend sees | What to do |
|---|---|---|
| The friend has ordered from your store before | We couldn't create your code | Expected. Friend codes are for new customers only. Any earlier order in Shopify counts, including orders placed before you installed Sol. |
| Member opened their own link | Same screen | Expected. Members cannot use their own link. |
| The link reached 50 codes in one day | Same screen | Wait until the next day. This safety cap cannot be changed. |
| Shopify could not create the code, or too many attempts in a short time | Same screen | The friend can try again in a moment. |
| The friend is not logged in | Log in to claim your reward | Expected. The friend logs in or creates an account, comes back to the link and clicks Get my code again. |
| Referral program is off, or the whole loyalty program is inactive | No pop-up at all | Press Enable in Program → Referrals, or launch the program. |
| The member who shared the link is excluded | No pop-up at all | Expected. Excluded customers have no working link. |
| Link is wrong or no longer valid | No pop-up at all | Ask the member to copy their link again from the widget. |
Test it yourself
- Create a test customer account on your store that has no orders.
- Open a member's link in a private window.
- Press the claim button (default Get my code). You see Log in to claim your reward.
- Click Log in and log in as the test customer. You come back to the link.
- Press Get my code again and confirm you see a code with a Copy button.
Do not test with the member's own account or with a customer who has ordered before. Both always show the not-eligible screen. Each test customer can claim only one code. Claiming again shows the same code.
[!INFO] You can edit the text of the not-eligible screen in Branding → Referral pop-up. If you change it, the friend sees your wording instead of the default. The log-in screen can't be edited.
Good to know
- The code is created only when the friend presses the claim button. Link previews and search crawlers never use up codes.
- Each customer gets one friend code in your store. Claiming again, from the same link or another member's link, shows the same code.
- Friends must be new customers. The app checks this when the code is claimed and again when the order is paid.
- A member's link has no limit on the number of friends, apart from the daily cap above.