Hi, I’m running an online experiment via Pavlovia that includes an embedded Pavlovia Survey at the end. A participant just emailed me saying that after completing the survey they received the following error message (image attached), which apparently stopped Pavlovia from uploading any of their data from the session.
Unfortunately we encountered the following error:
- when uploading the survey response for experiment: XXXXX and survey: XXXX
- SyntaxError: Unexpected token ‘<’, "
About 50 participants have previously completed the experiment and survey successfully, and the code has not changed recently.
If I’m reading the message correctly, it indicates it’s a problem with the survey bit (which ~50 participants have previously completed successfully). I am guessing that it may relate to the participant’s input in a free-response text box; maybe they used a special character in their response that some script behind the scenes did not like? I noticed that the Pavlovia Surveys web GUI contains options for validating responses (which would be my first thought), but these do not seem to be documented anywhere.
This doesn’t seem to be a common problem even with this survey, but I’d really like to avoid losing any more data. Any idea what the problem could be and how to address it?