I’ve been having this issue when trying to run my Psychopy experiment on Pavlovia, and then when I login to Pavlovia seperately to try and run it from the link, it says ‘403: Forbidden’. I’ve made a completely new experiment, moved files around lots of times, and still I cannot run it on Pavlovia, and I am still getting a ‘Forbidden’ message using the link. Any suggestions?
Hi there @acready22,
The error message on the second screenshot suggests that you’ve saved your experiment in a folder that’s already under git control (usually OneDrive/Cloud storage etc.). If you can follow these steps things should work as expected:
- Save your experiment in a folder that is stored locally (on your desktop for example)
- In the local folder, make sure that you can view hidden items:
- Delete all files related to the experiment running online, including the hidden .git folder
- Upload your experiment to Pavlovia again, from the experiment file stored in this local folder
Hope this helps!
Kim
Hi, I’m running into a similar issue, which I haven’t been able to resolve, because the problem is that all computers that I currently have access to have been hooked up to git or are uni computers which are connected to the uni network.
Ideally, I’d get the experiment to work on my laptop, but neither moving it across various folders nor deleting all git-related files and re-uploading them has helped. Frankly, this is a huge issue, because I can no longer make changes to ongoing experiments since I moved my affiliation and lost access to the only computer where it worked.
Is there a way to resolve this issue?
Thanks in advance!
When you’ve deleted the .git folder or moved your experiment, has the error message still said “sits inside another folder, which git will not permit”? If so then it’s most likely that the problem folder isn’t the one your experiment is in but one further up which contains a .git folder.
The issue is that git doesn’t let you have a git repository inside another git repository. Anything with a .git folder is considered a repository, and when you sync to Pavlovia, PsychoPy turns your experiment folder into a git repository. So if you have a .git folder somewhere really high up (like in the root of My Documents), then anything inside that folder can’t be turned into a git repository.
I’d recommend starting at the folder with your experiment in, then (with “Show hidden files” ticked) go one folder up repeatedly until you get to one with a .git folder in.


