Could be the type of salt; some have a problem with the celtic type.
I never did this; always took the salt in water. I suggest you find other ways to take the salt/switch type; it is not meant to cause pains like this. But also think twice, sometimes what we take are coincidencally with an illness coming up, or some food reaction. Been there so many times!