Invite validation fails with error message I do not understand (Max redemption allowed should be between 2 and 10)

A non-staff user tried to invite someone via email. The invited person clicked on the link and tried to register themself. They filled out the form correctly, all input fields were confirmed with a green message. But below in a red box, following error message is displayed:

Validierung gescheitert: Max redemptions allowed sollte zwischen 2 und 10 sein.

(the mixture of languages is literally like this – the forum is in German). The message means translated to English something like:

Validation failed: Max redemption allowed should be between 2 and 10.

Neither the invited person, nor the inviting user, nor me do understand the error message. Can someone please explain what went wrong? (and maybe it’s worth to rephrase the error message?)

PS: Searching through the website settings, the search string max redemptions allowed did not lead to any hit. Searching only for max dedemptions I did find two hits (Invite link max redemptions limit=5000 and Invite link max redemptions limit users=10 which both are the default values. Discourse 3.6.0.beta1-dev ( 3352cec1bb )

1 Like

I agree that the message needs improvement. I checked the text on Crowdin and it seems this has been noticed before.

Yes, it preceded with “Max redemptions allowed” which creates quite an awkward translation. You can ignore this for now, I’ll fix the source string.

I asked for a follow-up on Crowdin.

Regarding the invite problem: If the invite is limited to an email address, this error shouldn’t appear. I tried to reproduce the problem but so far I wasn’t able to. Maybe you can help me to find the steps to reproduce.

What I tried:

  • Ensure Invite link max redemptions limit users = 10 and Invite link max redemptions limit = 5000
  • Use a non-staff test user (in my case one with trust level 2)
  • Use the invite link in the sidebar
  • Click “Edit link options or send by email.”
  • Enter an email address not connected to an existing account
  • Click “create link and send email”
  • Take the link from the email and open it in a different browser or a private window
  • Fill the registration form
  • Click “sign up”

And I didn’t get that error. Can you spot a difference to what your user did? Did they use invite to a topic or invite to a PM instead of the general invite? Can you think of any other settings that might matter? Do you use SSO or do new users require approval? Which groups are in your Invite allowed groups setting?