The screen shows send--sanitize--
which means the link used is hidden and the error could be due to the link using an invalid invitation to a group instead of a phone number or the phone number or the full URL is not formatted properly.
This is not a WhatsApp error for sure.
I have run some tests from my side and found out that is the phone number starts with 00 or + it sometimes work and sometimes fail.
Make sure the number follows international format of (country code + area code + phone number) without leading zeros or +.