Embedded Pavlovia survey in Exp - Error

Hi,

I have a Pavlovia survey that I embedded in the beginning of an online exp. The survey starts with Participant Info Sheet and Consent. I have set it so that if a P does not consent to terminate the survey (Survey complete in survey logic) and to skip the exp. For the latter action I got help from Using survey responses to conditionally end main experiment - Online experiments / Pavlovia Surveys - PsychoPy and the links in this thread.

The issue is that if I do not consent then then next thing that happens is the error below which seems to disappear without me hitting OK. Data seem to be saved fine both for the survey and the exp.

Other than the confusion this may cause to my Ps, it also seems to affect the message at the end - it will sometimes display my custom message or the default message. Though I am not sure if the two are connected.

Any guidance will be appreciated.

I attach a minimal example

embeddedPavloviaSurvey.psyexp (18.8 KB)

Best regards

Yiannis

My custom message

Default message