# Running study with Pavlovia works OK, but unable to save data (Lab.js based study)

**URL:** <https://discourse.psychopy.org/t/running-study-with-pavlovia-works-ok-but-unable-to-save-data-lab-js-based-study/5915>\
**Category:** Online experiments\
**Tags:** pavlovia, labjs\
**Created:** [November 23, 2018, 2:04pm UTC](https://discourse.psychopy.org/t/running-study-with-pavlovia-works-ok-but-unable-to-save-data-lab-js-based-study/5915 "2018-11-23T14:04:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![HuskySpeaks](https://avatars.discourse-cdn.com/v4/letter/h/34f0e0/32.png) [@HuskySpeaks](https://discourse.psychopy.org/u/HuskySpeaks)\
**Post date:** [November 23, 2018, 2:04pm UTC](https://discourse.psychopy.org/t/running-study-with-pavlovia-works-ok-but-unable-to-save-data-lab-js-based-study/5915/1 "2018-11-23T14:04:16Z")

</div>

The study link is below (set to be publicly accessible):

> **[Sign in](https://gitlab.pavlovia.org/users/sign_in)**
>
> Sign In/Register

I made a test study with Lab.js and exported it with the “generic web host” option, which yields a folder with a “index.html”, “backend.php”, “style.css” and some other files. Then I installed Git, link it to Pavlovia and pushed these files. Next I activated the study and tried to run it, which only resulted in a “403 forbidden” page. However, I solved this by deleting the “/html/” string in the study link ( [https://pavlovia.org/run/HUSKYSPEAKS/IT\_Perception/html/](https://pavlovia.org/run/HUSKYSPEAKS/IT_Perception/html/)). I also try to move everything in the actual study into a subfolder named “html” but it only led to failing to activate.

After solving this issue, I did some test runs myself, but found that the data file was not stored in “data” folder. But when I tested the study in Lab.js environment and my local computer, data was saved normally. I suspected there is some kind of permission denial happening in the “data” folder and deleted the content from the hidden “.htaccess” file in that folder. But this did not work.

I searched online but there was almost no materials regarding Lab.js and Pavlovia both, yet Pavlovia is supposed to support lab.js studies as far as my understanding of this platform and also what I learned from a youtube video titled “Launch of PsychoPy3 and [Pavlovia.org](http://Pavlovia.org)” by one of the founder himself.

So to sum up: 1. why the default study link does not work? 2. how to make writing data possible with this lab.js study? Could someone please help me out a bit on this issue ?

---

<div class="post-metadata">

**Author:** ![munoztd0](https://avatars.discourse-cdn.com/v4/letter/m/ac8455/32.png) [@munoztd0](https://discourse.psychopy.org/u/munoztd0)\
**Post date:** [May 5, 2020, 2:12pm UTC](https://discourse.psychopy.org/t/running-study-with-pavlovia-works-ok-but-unable-to-save-data-lab-js-based-study/5915/2 "2020-05-05T14:12:11Z")

</div>

Would still love to have an answer in this
