I don't know for sure about gliders, but my dang dogs can get poo eatin to an art. The older german shepard was kept in a small dirty cage when we got him, so dogs want their living space clean and can develop a habit of eating it. It took us about 6 months to break him of it, never caused health issues.
Our beagle will eat anything outside if I don't watch her, cricket, bugs, and the dang rabbit poo. Then get sick in the house.
I would keep an eye out for your glider doing it more, but sounds like its a sweet potato thing.