Negative blood type and miscarriage

An
Found out that that I have A- blood and need to get a shot so that my body doesn't attack itself when I'm pregnant. I've had two chemical pregnancies (early miscarriages) so far. Could there be a link between my blood type and having miscarriages? Any experiences?