Does your friend who you’re trying to add as a co-Host already have their own Airbnb account, and have they given you their email address associated with their account for you to send the invite to?
If you’ve done the above then you’re probably experiencing one of the many glitches in the Co-hosting system that seem to occur on a regular basis.