Vitamin deficiency while pregnant?

Cry

Have any of you ladies had an experience with vitamin deficiencies causing miscarriage? Specifically D3 and B12. I have had two previous miscarriages, one in February at 6 weeks and the other in October at 9. After my second, I switched OB’s and she ran a full work up and the only thing she could see was extremely low levels of D3 and B12 and have been taking 5000 IU D3 and 5000 mg of B12 on top of a normal prenatal. I just found out I’m pregnant again Christmas <a href="https://play.google.com/store/apps/details?id=com.glow.android.eve">Eve</a> and am so nervous the same thing will happen! I have been taking my supplements since October but my first appointment isn’t for another 5 weeks