Error message when adding friend after match

half the time when a match has ended and I go to add the person I get an error message that pops up saying “the results have been recorded, restart needed” or something along that line.?

I had to cut the title short, these are not friends that I am trying to add, they are players who act like bots and this is the message I get when I try to add them after the match ends.

Had the same, go to blizzard client>friends options(above friends list)>and 1st option to see your invites, delete all of them, worked for me

Delete all my friends?