gender given by mistake

Has anyone not wanted to find out what their having, but the midwife/sonographer has accidently told you? Or have you found out another way?