'NotAllowedError' for iPad Users on Pavlovia Pilot

Hi all I’m currently piloting an online experiment through Pavlovia that involves playing a 60-second movie twice for participants, with the experiment intended to be conducted on iPads. While on my MacBook, the experiment mostly runs smoothly, albeit with the movie occasionally crashing (about once in every 7 attempts), I’ve encountered persistent issues when attempting to run it on iPads. This problem occurs regardless of the browser—Chrome or Safari—I use, leading to a frequent error message:

“Unfortunately, we encountered the following error: NotAllowedError: The request is not allowed by the user agent or the platform in the current context, possibly because the user denied permission. Try to run the experiment again. If the error persists, contact the experiment designer.”

After enabling pop-ups in Chrome, the issue seemed temporarily resolved, but the error reappeared in subsequent trials. With Safari, the error consistently occurs without resolution.

Does anyone have any recommendations or solutions for conducting this experiment on iPads via Pavlovia, especially in light of these persistent error messages? Any insights or advice would be greatly appreciated. Thank you in advance!

Does your experiment require a key press or a mouse click before the video starts playing?

Hello , yes!
in the first routine , they have to click on screen, to get into the next routine where the movie should play.

Oh well. It’s not that then.

Hang on – did you say that this issue was with pilot mode? Does it run normally when set to running? I know that surveys and microphone components save data locally while piloting which could cause issues if the default save area wasn’t permitted.

1 Like

actually I haven’t tried running mode, I only tried Pilot mode , regarding the mic, popups , and everything were allowed in Safari and chrome, or do you think trying running mode will make a difference ?