Saving data with the plugin for jsPsych 7

Hello,

I am very new to Pavlovia and would appreciate any help. I am using the plugin for jsPsych 7 and am having difficulty saving data.

This is the error message I get:

jspsych-7-pavlovia-2022.1.1.js:75 [pavlovia 2022.1.1]
TypeError: Cannot read properties of undefined (reading ‘name’)

Any idea what might be going wrong here?

Here is how I am calling the plugin:

	/* finish connection with pavlovia.org */
var pavlovia_finish = {
			type: jsPsychPavlovia,
			command: "finish",
			participantId: "JSPSYCH-DEMO"
		};

timeline.push(pavlovia_finish);

Thank you!
Melisa

Linking this relevant post: