Aw man, must've been a sugar alcohol. Sorbitol, maltitol, or mannitol would be my guess, since you need quite a bit of those for sufficient sweetness (while needing less of strong ones like erythritol). Generally they taste good, no bad aftertaste (in my experience at least) compared to many other sugar substitutes... But the way they work is they taste like sugar, but their molecular structure is different so the body doesn't absorbs them, so they just move through the gut to be excreted later, thus practically no calories are absorbed from them. Sounds great! ...Except they greedily bind to water they encounter, causing LOTS of moisture to gather in the gut too. And certain bacteria in the gut eagerly gobble it up, & create a lot of stinky gas as a waste product. Leading to bloating, gas, & diarrhea. 😣 Most people can eat a moderate amount just fine (it's naturally in many fruits & vegetables, & small amounts are used in many prepared foods & snacks alongside regular sugars for flavor depth, etc)... But when used as a primary sweetener, you should start VERY small, then you can eventually build up tolerance over time as your system learns to deal with it. But some people, perhaps due to the makeup of their gut microbiome or individual digestive enzymes, are EXTREMELY sensitive to these side-effects, & get them far more severely from even a little bit! 😵 (Just wanted to share this relevant trivia, so others can potentially avoid this disastrous fate. Like I said, for many people it's fine in moderation, but it's important to find out what your gut considers "moderate".) .......🤓