Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

Fail to transfer data from participant end to JATOS

Hi, our experiment recently encountered this message twice. It showed up after the participant finished the task. Never happened before. And in Jatos we did not receive the data, Jatos shows a duration of 2s (should be something around 10min) and status:

Illegal function call submitOrAppendResultData: component (ID 3) of study (ID 3) was never started.

I read another post about data transferring issue but our results are a lot smaller than theirs (< 500KB) so shouldn't be the file size problem.

Any idea what's the possible reason?


Thanks!


Han

Comments

  • Hi Han,

    I have some questions for you:

    • How many components does your study have and at which position is the one with ID 3?
    • Do you wait in your JavaScript until jatos.js is finished initializing before you call any jatos.js function?
    • How do you go to the next component, if you have more than one?
    • What JATOS version do you use?
    • It would be nice to see the code where you do jatos.js init.

    Best,

    Kristian

  • edited December 2021

    Hi Kristian,

    Maybe I missed some basic informaiton, we are using OSWEB and JATOS, so

    • there's only one OSWEB experiment for the participants, so i suppose it equals to one component?
    • Not sure if this question is still applicable in our situation
    • As above
    • JATOS 3.5.8, OSWEB 1.4.0

    Should this be moved to OSWEB?

    Thanks!


    Best wishes,

    Han

  • Hi Han,

    Yes, if you are using OSWeb then my questions don't make much sense. You have just one component and the whole jatos.js stuff is done by OSWeb for you.

    But then your error message 'Illegal function call submitOrAppendResultData: component (ID 3) of study (ID 3) was never started' is strange. For JATOS the component (your OSWeb experiment) was never started. If the experiment was started with the study link from JATOS this should never happen. Is it possible that your participants somehow altered their study link? E.g. they could have changed a number?

    Best,

    Kristian

Sign In or Register to comment.