What can be the meaning of error 422 that I am getting when sending an invite (see attached, error shows at the top)? It is happening after updating to 2.7.0.beta4.
AI-generated summary
Users are discussing an Error 422 that occurs when sending invites after updating to Discourse 2.7.0.beta4. Wall-E reports the error persists even after deleting test accounts, suspecting leftover records may be causing the issue. tobiaseigen suggests the email might still be registered and recommends trying a completely new email address. Wall-E confirms the fix — using a fresh, never-before-used email address resolves the error. dan acknowledges the confusion and confirms the issue will be resolved via a pending pull request: https://github.com/discourse/discourse/pull/12298. The invite system is currently undergoing significant changes, which may explain the unexpected behavior.
It might mean the email address you are trying to invite is already a user on the site. I came across this in my testing as well. Note the invite system is being changed quite a bit at the moment.
I deleted the test account before testing this invite. It still gave the error. Maybe there’s a record of deleted account that persists and the system can’t make the difference? Or it could be something else entirely.
Can you try a different email address entirely? Let me know if the 422 error keeps showing up.
It’s working! Indeed, so far I only tried with emails that have been used in the past for test accounts that I was deleting each time I was making new invite tests.
Sorry for the confusion. The problem will be fixed with:
