Lite salt has both sodium and potassium in it. The ketoaid recipe most use also has magnesium citrate in it, which has a small amount of artificial flavoring and sweeteners in it. You could use magnesium tablets (not oxide - get the chelated or maleate forms) but then they have fillers as binders so you can’t win!
If you don’t have Lite salt just add 1/4 tsp salt to a glass of water and drink it. If you feel better soon then it was electrolytes.
edited to add: warm the water up and tell stomach you are sipping on broth!