It can be related to an electrolyte imbalance as your body sheds water and electrolytes when carbohydrates are restricted. Most of the lowcarb experts suggest drinking bone broth or boullion. Also pays to up your water consumption.
Mine lasted for about 2 weeks, but ever since then I've been fine. I think you're supposed to drink water to help, this is something I didn't know about at the time.