I recommend avoiding potato chips whether they give you migraines or not. 😂
And there are lots of food sensitivies. You just have to figure out what works for you. I don't think medical science can tell you. I cannot handle whole wheat - my gut dumps itself... but I can have white bread no problem so it's not a gluten thing. In any case I gave up wheat for 3 weeks and my IBS is gone. I've had a full week of amazing poops. So I am definitely sensitive to wheat. For some people it is FODMAPS but on me they make no difference. Cabbage, beans, I handle these just fine.
I'm not even anti-Keto. I think a 100% sardine diet is near ideal.