Worth it to get HSG?!

I have had a total of 3 chemical pregnancies and fertility bloodwork came back normal yet my doctor still is pushing for me to get the HSG test (dye test). Can someone explain what causes tube blockages and would it be possible to get pregnant if they were blocked? I haven’t actually been able to talk to my doctor, Only his receptionist who doesn’t know anything and can’t answer my questions! Help - should I do it? Does it hurt? What were your results? What do they do if there is actually a blockage?