h5p / h5p-boardgame

2 stars 11 forks source link

error sending statement #4

Open garemoko opened 8 years ago

garemoko commented 8 years ago

I have a board game with a true or false question in Wordpress configured to send xAPI data to Watershed. When I click on a question option I get a popup error that the statement could not be sent.

The error is:

{"ok":0,"message":"Object with name 'statement' could not be created from the provided JSON. Error message: Can not deserialize instance of java.util.HashMap out of START_ARRAY token\n at [Source: java.io.StringReader@29cce83b; line: 1, column: 1060](through reference chain: RusticiSoftware.ScormContentPlayer.Logic.TinCan.V10.V10_Statement["context"]->RusticiSoftware.ScormContentPlayer.Logic.TinCan.Context["extensions"])","code":400}

I can't figure out how to see the actual statement sent. I think it has something to do with the question being within a frame. This error was not present in earlier versions of the boardgame.