# Experiment doesn't sync with pavlovia

**URL:** <https://discourse.psychopy.org/t/experiment-doesnt-sync-with-pavlovia/21785>\
**Category:** Online experiments\
**Created:** [March 28, 2021, 1:04pm UTC](https://discourse.psychopy.org/t/experiment-doesnt-sync-with-pavlovia/21785 "2021-03-28T13:04:17Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![mykolas\_gudaitis](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/mykolas_gudaitis/32/14848_2.png) [@mykolas\_gudaitis](https://discourse.psychopy.org/u/mykolas_gudaitis)\
**Post date:** [March 28, 2021, 1:04pm UTC](https://discourse.psychopy.org/t/experiment-doesnt-sync-with-pavlovia/21785/1 "2021-03-28T13:04:17Z")

</div>

URL of experiment: [https://run.pavlovia.org/mykolasss/nzzzznn/?\_\_pilotToken=c51ce410c124a10e0db5e4b97fc2af39&\_\_oauthToken=a8d4af564284394dedf2a3955a681a848e926235b36132908511a2b11f6595a5](https://run.pavlovia.org/mykolasss/nzzzznn/? __pilotToken=c51ce410c124a10e0db5e4b97fc2af39&__ oauthToken=a8d4af564284394dedf2a3955a681a848e926235b36132908511a2b11f6595a5)

Hello, I’m trying to sync my experiment to a project in pavlovia from the coder view. It is syncing pretty fast, creates a .git repository with all the experiment files and the runner shows that syncing is successfull, but when I try to pilot the experiment it shows “403 Forbidden”. I tried deleting .git folder, creating a new project, but nothing works. I managed to sync the experiment to a different project before and it worked (URL: [garsinis\_screenscale [PsychoPy]](https://run.pavlovia.org/mykolasss/naujass/html/? __pilotToken=c51ce410c124a10e0db5e4b97fc2af39&__ oauthToken=a8d4af564284394dedf2a3955a681a848e926235b36132908511a2b11f6595a5)), but I needed to add a screen scale routine and a few survey components, though I don’t think this is the problem. What could be the issue?

---

<div class="post-metadata">

**Author:** ![thomas\_pronk](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/thomas_pronk/32/9531_2.png) [@thomas\_pronk](https://discourse.psychopy.org/u/thomas_pronk)\
**Post date:** [March 28, 2021, 1:17pm UTC](https://discourse.psychopy.org/t/experiment-doesnt-sync-with-pavlovia/21785/2 "2021-03-28T13:17:23Z")

</div>

Could you share you gitlab repo with me? (make me a maintainer, my username is tpronk). Then I’ll take a peek

---

<div class="post-metadata">

**Author:** ![mykolas\_gudaitis](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/mykolas_gudaitis/32/14848_2.png) [@mykolas\_gudaitis](https://discourse.psychopy.org/u/mykolas_gudaitis)\
**Post date:** [March 28, 2021, 1:20pm UTC](https://discourse.psychopy.org/t/experiment-doesnt-sync-with-pavlovia/21785/3 "2021-03-28T13:20:33Z")

</div>

Thank you for your response, all done!

---

<div class="post-metadata">

**Author:** ![thomas\_pronk](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/thomas_pronk/32/9531_2.png) [@thomas\_pronk](https://discourse.psychopy.org/u/thomas_pronk)\
**Post date:** [March 28, 2021, 1:28pm UTC](https://discourse.psychopy.org/t/experiment-doesnt-sync-with-pavlovia/21785/4 "2021-03-28T13:28:26Z")

</div>

Thnx! I see your project name is vvgbhnjmk and not nzzzznn. Maybe try this one? [Pavlovia](https://pavlovia.org/mykolasss/vvgbhnjmk)

---

<div class="post-metadata">

**Author:** ![mykolas\_gudaitis](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/mykolas_gudaitis/32/14848_2.png) [@mykolas\_gudaitis](https://discourse.psychopy.org/u/mykolas_gudaitis)\
**Post date:** [March 28, 2021, 1:35pm UTC](https://discourse.psychopy.org/t/experiment-doesnt-sync-with-pavlovia/21785/5 "2021-03-28T13:35:24Z")

</div>

I deleted the nzzzznn project about an hour ago, and tried to sync to the first one. I tried piloting this one too: [Pavlovia](https://pavlovia.org/mykolasss/vvgbhnjmk) , but it still shows “403 Forbidden”, so I guess it didn’t sync properly

---

<div class="post-metadata">

**Author:** ![mykolas\_gudaitis](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/mykolas_gudaitis/32/14848_2.png) [@mykolas\_gudaitis](https://discourse.psychopy.org/u/mykolas_gudaitis)\
**Post date:** [March 28, 2021, 1:38pm UTC](https://discourse.psychopy.org/t/experiment-doesnt-sync-with-pavlovia/21785/6 "2021-03-28T13:38:41Z")

</div>

In the dashoard it shows that the project type is unknown, it just has a git repository and that’s it

 ![image](https://us1.discourse-cdn.com/flex002/uploads/psychopy/original/3X/1/0/106b70743925da43ee3361ed2c01736d5fc3d003.png)

---

<div class="post-metadata">

**Author:** ![mykolas\_gudaitis](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/mykolas_gudaitis/32/14848_2.png) [@mykolas\_gudaitis](https://discourse.psychopy.org/u/mykolas_gudaitis)\
**Post date:** [March 28, 2021, 1:40pm UTC](https://discourse.psychopy.org/t/experiment-doesnt-sync-with-pavlovia/21785/7 "2021-03-28T13:40:50Z")

</div>

I just found that when I open the github repository it shows that I need to add SSH key to my profile. Could it be the reason why I can’t sync the experiment? I haven’t added the key before, but managed to sync successfully

---

<div class="post-metadata">

**Author:** ![thomas\_pronk](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/thomas_pronk/32/9531_2.png) [@thomas\_pronk](https://discourse.psychopy.org/u/thomas_pronk)\
**Post date:** [March 28, 2021, 2:36pm UTC](https://discourse.psychopy.org/t/experiment-doesnt-sync-with-pavlovia/21785/8 "2021-03-28T14:36:54Z")

</div>

Are you syncing via the PsychoPy Builder?

---

<div class="post-metadata">

**Author:** ![mykolas\_gudaitis](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/mykolas_gudaitis/32/14848_2.png) [@mykolas\_gudaitis](https://discourse.psychopy.org/u/mykolas_gudaitis)\
**Post date:** [March 28, 2021, 2:40pm UTC](https://discourse.psychopy.org/t/experiment-doesnt-sync-with-pavlovia/21785/9 "2021-03-28T14:40:20Z")

</div>

Through coder, though I tried to sync via builder and the same happens. I tried downgrading psychopy to 2020.2.4 (which the experiment was originally made in), tried changing experiment versions in experiment settings, but still the same issue remains

---

<div class="post-metadata">

**Author:** ![thomas\_pronk](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/thomas_pronk/32/9531_2.png) [@thomas\_pronk](https://discourse.psychopy.org/u/thomas_pronk)\
**Post date:** [March 28, 2021, 2:47pm UTC](https://discourse.psychopy.org/t/experiment-doesnt-sync-with-pavlovia/21785/10 "2021-03-28T14:47:22Z")

</div>

Sorry for all the besoignes! I notice I can’t get into your gitlab project. I’ll go relay this problem to a colleague, who will likely be able to help you out

---

<div class="post-metadata">

**Author:** ![mykolas\_gudaitis](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/mykolas_gudaitis/32/14848_2.png) [@mykolas\_gudaitis](https://discourse.psychopy.org/u/mykolas_gudaitis)\
**Post date:** [March 28, 2021, 3:55pm UTC](https://discourse.psychopy.org/t/experiment-doesnt-sync-with-pavlovia/21785/11 "2021-03-28T15:55:37Z")

</div>

Sorry, I deleted the project and the repository because I tried to sync again. I have a new project with the same problem so I’m adding you there. If there’s anything more I can do just let me know, thank you!

---

<div class="post-metadata">

**Author:** ![thomas\_pronk](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/thomas_pronk/32/9531_2.png) [@thomas\_pronk](https://discourse.psychopy.org/u/thomas_pronk)\
**Post date:** [March 31, 2021, 4:56pm UTC](https://discourse.psychopy.org/t/experiment-doesnt-sync-with-pavlovia/21785/12 "2021-03-31T16:56:40Z")

</div>

Could you tell me the project name? (sorry, got snowed under)

---

<div class="post-metadata">

**Author:** ![mykolas\_gudaitis](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/mykolas_gudaitis/32/14848_2.png) [@mykolas\_gudaitis](https://discourse.psychopy.org/u/mykolas_gudaitis)\
**Post date:** [March 31, 2021, 5:24pm UTC](https://discourse.psychopy.org/t/experiment-doesnt-sync-with-pavlovia/21785/13 "2021-03-31T17:24:33Z")

</div>

I upgraded to 2021.1.3 again and somehow it worked, but thank you!

---

<div class="post-metadata">

**Author:** ![Guillon](https://avatars.discourse-cdn.com/v4/letter/g/9dc877/32.png) [@Guillon](https://discourse.psychopy.org/u/Guillon)\
**Post date:** [April 3, 2021, 11:22am UTC](https://discourse.psychopy.org/t/experiment-doesnt-sync-with-pavlovia/21785/14 "2021-04-03T11:22:46Z")

</div>

Hi,  
I echo this question as I have the same problem but the solution of upgrading to version 2021.1.3 does not seem to work…

I am working with Vs:  
3.8.5 (default, Sep 3 2020, 21:29:08) [MSC v.1916 64 bit (AMD64)]  
v.2021.1.3

I am uploaded the code from PsychoBuilder and also manually from GitHub but none of the options work. I keep having the “403 Forbidden” issue.  
Any further idea?

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![wakecarter](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/wakecarter/32/5753_2.png) [@wakecarter](https://discourse.psychopy.org/u/wakecarter)\
**Post date:** [April 3, 2021, 11:33am UTC](https://discourse.psychopy.org/t/experiment-doesnt-sync-with-pavlovia/21785/15 "2021-04-03T11:33:15Z")

</div>

Have you tried with and without html in the run URL?

---

<div class="post-metadata">

**Author:** ![Guillon](https://avatars.discourse-cdn.com/v4/letter/g/9dc877/32.png) [@Guillon](https://discourse.psychopy.org/u/Guillon)\
**Post date:** [April 3, 2021, 11:40am UTC](https://discourse.psychopy.org/t/experiment-doesnt-sync-with-pavlovia/21785/16 "2021-04-03T11:40:52Z")

</div>

Thanks @wakecarter for such a quick answer!

Not sure that I understand what you mean…how can I remove the HTML?

---

<div class="post-metadata">

**Author:** ![wakecarter](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/wakecarter/32/5753_2.png) [@wakecarter](https://discourse.psychopy.org/u/wakecarter)\
**Post date:** [April 3, 2021, 12:33pm UTC](https://discourse.psychopy.org/t/experiment-doesnt-sync-with-pavlovia/21785/17 "2021-04-03T12:33:18Z")

</div>

What is the URL to the participant version of your study?

---

<div class="post-metadata">

**Author:** ![Guillon](https://avatars.discourse-cdn.com/v4/letter/g/9dc877/32.png) [@Guillon](https://discourse.psychopy.org/u/Guillon)\
**Post date:** [April 3, 2021, 8:03pm UTC](https://discourse.psychopy.org/t/experiment-doesnt-sync-with-pavlovia/21785/18 "2021-04-03T20:03:24Z")

</div>

Hi,  
Digging in your comment, I have managed to understand that it is also required to export the HTML to the github folder.

So what I do know is to load the task from the PsychoBuilder and export from the Psychocoder the HTML which generates the following files.

taskName.py  
taskName-legacy-browsers.js  
taskName.js  
index.html

I am then able to avoid the error 403 but the tasks freezes at “Launching experiment”…  
What am I doing wrong?

---

<div class="post-metadata">

**Author:** ![wakecarter](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/wakecarter/32/5753_2.png) [@wakecarter](https://discourse.psychopy.org/u/wakecarter)\
**Post date:** [April 3, 2021, 8:37pm UTC](https://discourse.psychopy.org/t/experiment-doesnt-sync-with-pavlovia/21785/19 "2021-04-03T20:37:57Z")

</div>

I press sync not export.

Have you looked at your experiment page on Pavlovia?

---

<div class="post-metadata">

**Author:** ![Guillon](https://avatars.discourse-cdn.com/v4/letter/g/9dc877/32.png) [@Guillon](https://discourse.psychopy.org/u/Guillon)\
**Post date:** [April 5, 2021, 7:52am UTC](https://discourse.psychopy.org/t/experiment-doesnt-sync-with-pavlovia/21785/20 "2021-04-05T07:52:23Z")

</div>

Hi,  
These are the steps I follow:

1. Code my script adapting one paradigm already running in Pavlovia
2. Create Pavlovia account (my University has a full license)
3. Sync GithHub and Pavlovia account
4. From the PsychoBuilder I open the folder with my experiment (File.py, images (that i present))
5. I click on “Sync with web project” to download the experiment in my Pavlovia - the experiment syncs well and I have it on my GithHub and Pavlovia account
6. Open Pavlovia and try clink on “testing” the experiment.
7. Error 403 appears…

Might I be forgetting something?

[Next page](https://discourse.psychopy.org/t/experiment-doesnt-sync-with-pavlovia/21785.md?page=2)
