Yep. Mushrooms are among some of the common culprits causing food intolerance. Try eliminating them for a bit. If there is a reduction in headaches, diarrhea & you have more energy - you may have a food intolerance to mushroms
NB. some others are onions, peppers, paprika, spices & artificial sweetners