Wrong gender???

I know these things are less likely to happen in today’s day and age but has anyone been told the wrong gender recently within the last year or so? If soo how did it happen? I’m just curious because I know a few people myself who thought they were having one gender and ended up having another lol