The Riptide Elements team has recently implemented some platform solutions around building and storing xAPI statements with respect to our course ware. The primary issue was: what should happen when attempting to store an xAPI statement with an error or client connection loss? The problem is twofold -- one part being, statements can occasionally be created with malformed structure, and the second is a loss of user data when a bad statement prevents others from being stored to the LRS. To tackle this problem, the Elements engineering team got together to brainstorm some potential solutions.