Participants not able to complete study

I’ve had several participants not be able to complete my study in the last hour or so. Most are getting an error at the end stating the data could not be uploaded to Pavlovia. Just wondering if anyone else is currently experiencing this? Because everything was working fine a few hours ago and as far as I know nothing has changed…

TypeError: Failed to fetch

Are you using the shelf?

Do you have any End Experiment code?

I’m not quite sure what the shelf is. Another participant sent me this error code:

when terminating the experiment
when flushing participant’s logs for experiment: matiasfduque/creativityexp
when uploading participant’s log for experiment: matiasfduque/creativityexp
TypeError: Failed to fetch

I do have this code at the end of my mic routine (which is at the very end), so this may be causing issues?

// stop the microphone (make the audio data ready for upload)
await MINT_mic.stop();

// construct a filename for this recording
thisFilename = expInfo["PROLIFIC_PID"] + "_" +
                    expName + "_" + expInfo["date"]; // add date timestamp so no overwriting

// get the recording
MINT_mic.lastClip = await MINT_mic.getRecording({
  tag: thisFilename,
  flush: false
});

psychoJS.experiment.addData('mic.clip', thisFilename + ".wav");
// start the asynchronous upload to the server
MINT_mic.lastClip.upload();

Yes – the recordings should be saved automatically, but you won’t be able to save them manually like that with custom names. Please try without that code.

Thanks! Removing that code did indeed help. I was trying some renaming code I had found to rename files.

Yes, I’ve used similar code locally but not online.