@visual.narrative (visual.narrative) posted a new topic, subject "Error saving participant data: Request Entity Too Large". It read:

   URL of experiment: https://run.pavlovia.org/visual.narrative/visual-narrative/html/
    
    Description of the problem:  
    The whole experiment runs fine on Pavlovia, until we get an error at the end while saving the data.  
    The error message is as follows:
    
    Unfortunately we encountered an error:
    [code] 
        when uploading participant's results for experiment: Visual.Narrative
        Request Entity Too Large
        
    [/code]
    
    Try to run the experiment again. If the error persists, contact the experimenter.
    
    Any ideas how to solve this?
    
    Some further notices about the experiment:  
    It's a rather long experiment in which sequences of comics are shown to the participants, each of them followed by 5 questions. The answers to those questions as well as the timings are stored.  
    Subjects are presented with 8 blocks, each of which consists of 32 comics.  
    Might it be that the amount of stored data is too big to be stored on Pavlovia? If so, is it possible to store the results on another platform?

After which, @dvbridges (David Bridges) added

    Hi @visual.narrative, I do not think it is because of space issues on Pavlovia. I have not seen this error before, but I wonder if it is related to how you are saving the path to the conditions files, and somehow the conditions files are being read in memory each time the name is written. Just an idea, but try not saving the path to the file, instead you could just save the condition name, or the filename without the extension.
    
    I cannot help further because the link to your task does not work - the JavaScript files in your repository appear to be missing, suggesting there is an issue with how your experiment is being created.

To which @visual.narrative (visual.narrative) replied

    Thanks for the quick answer @dvbridges!
    
    How is it possible to change the saving path to the conditions files without changing the path itself?
    
    My bad that the link didn't work, I tried to fix the issue and didn't restore the experiment at the end, sorry for that. We uploaded the experiment again, now the link should work and all the scripts should be in place:  
    https://run.pavlovia.org/visual.narrative/visualnarrative/html/
    
    Could you have another look?  
    Thanks a lot!

@unagi_pie (Jordan Gallant) replied

    Hi guys,
    
    I've been having the same issue with typing tasks that I've made on Psychopy3. It seems to be an issue with the number of observations recorded. In my case, once over roughly 2000 keystrokes are recorded, the file becomes too large to save. It's important to mention that this doesn't happen every time. For the link I've posted below, this only seems to happen 2/5 sessions, which probably means that it depends on the participant in some way. It could be their browser, but in this case it might also be that some participants make more mistakes and corrections leading to more keystrokes and large output files.
    
    Link: https://run.pavlovia.org/Jordan_Gallant/dresslertyping/html
    
    One of my participants submitted this image of the error:
    
    image1531×806 12 KB
    
    I think this is a matter worth looking into.
    
    Thanks.


{'source': 'discourse', 'url': 'https://discourse.psychopy.org/t/error-saving-participant-data-request-entity-too-large/8629', 'title': 'Error saving participant data: Request Entity Too Large', 'views': 379, 'has_accepted_answer': False, 'word_count': 510, 'like_count': 0, 'reply_count': 1, 'participant_count': 3, 'posts': 4, 'tags': '', 'author': '@visual.narrative (visual.narrative)', 'participants': '@visual.narrative (visual.narrative), @dvbridges (David Bridges), @unagi_pie (Jordan Gallant)', 'image_url': [None], 'created_at': '2019-07-25T13:13:10.867Z', 'last_posted_at': '2020-03-16T12:59:49.044Z'}