The doctors told me I had irritable bowel syndrome. And the only thing a noticed that actually works is to eat the least amount of fiber as possible. And to avoid everything that is “enriched” with fiber. I can eat some vegetables or legumes with almost no problem but I tend not to eat too much of those. This way I can live almost like I was before being diagnosed. Everywhere I read that eating fiber is good and I can’t find anyone else that shares my experience.
Not a doctor, but I understand that fiber doesn’t come alone and it’s possible that the fiber-rich foods have something else in them that irritates the intestines.
Also, there’s soluble and insoluble fibers, which behave differently.