Sounds to me like you were experiencing die-off symptoms. You probably know that Coconut Oil is anti-viral and anti-fungal. I've come to the conclusioin that just about everyone that's ever taken anti-biotics has some sort of yeast/fungus overgrowth.
How much were you taking? It's possible that you could cut back and work your way back up without much discomfort.
I've also read that a certain blood type is allergic to coconut oil, but I can't remember which one or where I read it! Sorry, not much help there. That might give you something to go on, though.