If you’ve never fasted before it could be something called “keto flu.” As your body enters the deeper stages of ketosis - where it’s truly just running off stored fat reserves instead of carb induced glycogen, there’s sometimes flu-like symptoms that take hold. Also known as keto flu.
People who try to start a ketogenic diet for the first time usually run into this as well since their dietary goal is to maintain a higher level of ketones in the blood by eating almost no carbs.
Kinda bro science here but nobody’s really sure what causes this. Body detoxing or just not knowing how to handle itself? Withdrawal if your diet before consisted of a lot of bad carbs? Also fat doesn’t really burn as efficiently as carbohydrates so maybe the body isn’t sure how to run on it. Carbs are awesome if you’re fueling up for a heavy workout. But if you’re only running on fat, you may not be able to work out at all for a few days or you kinda have to take it easy. It’s like putting watered down gas into a car.
The good news is it goes away. Take it easy, drink lots of water. It sounds like you’re getting your electrolytes.
Further reading: https://www.health.harvard.edu/blog/what-is-keto-flu-2018101815052
Also you may want to buy a ketones monitor. I’ve got the one from Keto Mojo and it’s kind of a fun science experiment to watch my ketone levels through all of this and how they react to various things like working out, etc.
I’m on Day 3 of a fast and now you have me thinking about buttery popcorn lol.
Edit: I’ll add that I’ve fasted before - as much as 12 days. But I’m having a MUCH easier time of it this time since I ate fairly ketogenetic for about a week leading up to starting the fast. I was working out hard in the mornings and eating basically zero carb except for immediately before and after my workouts. So I was in moderate ketosis a few days before I actually just stopped eating altogether. All the sudden one day I just wasn’t hungry. It helped having the ketones monitor so I could see where I was throughout the process.