Vitamin D?

I'm taking vitamin D bc my dr said I'm deficient in that. I was reading the lable and it said don't take if your pregnant. I wonder why? I'm not pregnant now but I hope soon. Is it that big of a danger?