Error - Failed to execute send on XMLHttpRequest

I don’t think so, I do not have any Each Frame code as the task consists in having participants guessing the sequence by pressing one of the keys [z, x, n, m] 100 times. After each key is pressed, depending on the key pressed the stimuli will appear in the respective position. As in, if participants press X then the stimuli will appear in the position X which corresponds to centre left.

pressed_key = Guess_inclusion.keys[0]

if pressed_key == ‘z’:
x = -0.650
elif pressed_key == ‘x’:
x = -0.215
elif pressed_key == ‘n’:
x = 0.215
elif pressed_key == ‘m’:
x = 0.650

Smileyface.pos = [x, 0]

Could this be the bit that is causing the problem? It is in the End Routine code and I can always run it smoothly which is very puzzling.

If it helps, I followed the advised provided here: Inverted response time task