Protein shakes and headaches

My doctor recommended I drink protein shakes because I had a deficiency, I have been drinking “premier protein-vanilla” and whenever I skip a day I get the biggest headache and extreme dizziness to the point of passing out, I have mentioned this to my doctor and she hasn’t gotten back to me yet, has this happened to anyone else or know what causes this?

It has 160cals, 3g fat, 4g carbs, 30g protein