# Platform unknown instead of PSYCHOJS when syncing experiment to pavlovia / 404 not found

**URL:** <https://discourse.psychopy.org/t/platform-unknown-instead-of-psychojs-when-syncing-experiment-to-pavlovia-404-not-found/38764>\
**Category:** Online experiments\
**Created:** [February 21, 2024, 3:05pm UTC](https://discourse.psychopy.org/t/platform-unknown-instead-of-psychojs-when-syncing-experiment-to-pavlovia-404-not-found/38764 "2024-02-21T15:05:33Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tarro](https://avatars.discourse-cdn.com/v4/letter/t/3ab097/32.png) [@Tarro](https://discourse.psychopy.org/u/Tarro)\
**Post date:** [February 21, 2024, 3:05pm UTC](https://discourse.psychopy.org/t/platform-unknown-instead-of-psychojs-when-syncing-experiment-to-pavlovia-404-not-found/38764/1 "2024-02-21T15:05:33Z")

</div>

Hi all,  
I am having some trouble with getting my experiment to successfully transfer from psychopy to Pavlovia. It runs fine locally on psychopy but when I sync the experiment to Pavlovia the platform is listed as “UNKOWN” when it should be “PSYCHOJS”. When I click “Run the study online” locally, it redirected to a 404 not found error.  
I have looked at similar posts on the forums and tried the following:  
– erasing the hidden .git folder and HTML files locally  
– starting a new experiment folder with only the files I need, from a new location  
– deleting the study from the experiment dashboard on pavlovia and trying again

I successfully ran some other experiments on pavlovia before but never encountered such problem…My PsychoPy version is V2022.1.3 on Windows.

Any suggestions or help would be greatly appreciated!

---

<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:** [February 21, 2024, 4:33pm UTC](https://discourse.psychopy.org/t/platform-unknown-instead-of-psychojs-when-syncing-experiment-to-pavlovia-404-not-found/38764/2 "2024-02-21T16:33:57Z")

</div>

Have you tried changing the experiment name in Experiment Settings to match the file name?

Is the use PsychoPy version field blank?

> [@Initalising experiment doesn't load](https://discourse.psychopy.org/t/initalising-experiment-doesnt-load/38710):
>
> URL of experiment:[Pavlovia](https://pavlovia.org/cpott003/value_of_information_new) Description of the problem: Hi there, I’ve created an experiment in builder and have had confirmation that it has synced to a project on my dashboard. The experiment status is set to ‘piloting’ but when I go to run the experiment it holds on the ‘initalising’ screen. So far I’ve: ensured that the name of the experiment and settings are the same uploaded all the relevant files to GitLab checked the paths from my local file structure to the experiment. Reviewed t…

> [@Platform unknown instead of PSYCHOJS when syncing experiment to pavlovia / forbidden error 403](https://discourse.psychopy.org/t/platform-unknown-instead-of-psychojs-when-syncing-experiment-to-pavlovia-forbidden-error-403/38590):
>
> Hi all, I am having some trouble with getting my experiment to successfully transfer from psychopy to pavlovia. It runs fine locally on psychopy but when I sync the experiment to pavlovia the platform is listed as “UNKOWN” when it should be “PSYCHOJS”. I have looked at similar posts on the forums and tried all options I could see (e.g., adding /html to the study link, deleting and re-downloading psychopy, deleting the study from the experiment dashboard on pavlovia and trying again). I successf…

> [@Cannot Launch the experiment](https://discourse.psychopy.org/t/cannot-launch-the-experiment/6906):
>
> URL of experiment: [https://pavlovia.org/run/mmolet/mee/html/](https://pavlovia.org/run/mmolet/mee/html/) Description of the problem: White screen and nothing happens though it seems that everything is loaded properly. Trivially, it works on my desktop (no problem). Any suggestion to debug this? Many thanks in advance

---

<div class="post-metadata">

**Author:** ![Tarro](https://avatars.discourse-cdn.com/v4/letter/t/3ab097/32.png) [@Tarro](https://discourse.psychopy.org/u/Tarro)\
**Post date:** [February 21, 2024, 4:47pm UTC](https://discourse.psychopy.org/t/platform-unknown-instead-of-psychojs-when-syncing-experiment-to-pavlovia-404-not-found/38764/3 "2024-02-21T16:47:31Z")

</div>

Yes, the experiment name and the file name are matched. And the PsychoPy version field is blank.  
Just now I reinstalled the latest version of PsychoPy and will see whether it helps.

---

<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:** [February 21, 2024, 4:54pm UTC](https://discourse.psychopy.org/t/platform-unknown-instead-of-psychojs-when-syncing-experiment-to-pavlovia-404-not-found/38764/4 "2024-02-21T16:54:20Z")

</div>

Is Experiment Settings / Online / Output path blank?

---

<div class="post-metadata">

**Author:** ![Tarro](https://avatars.discourse-cdn.com/v4/letter/t/3ab097/32.png) [@Tarro](https://discourse.psychopy.org/u/Tarro)\
**Post date:** [February 21, 2024, 5:37pm UTC](https://discourse.psychopy.org/t/platform-unknown-instead-of-psychojs-when-syncing-experiment-to-pavlovia-404-not-found/38764/5 "2024-02-21T17:37:05Z")

</div>

Yes. I re-programmed my experiment in the latest version of PsychoPy, now Platform is PSYCHOJS. However, when I pilot it online, there is “TypeError: Number.isInteger is not a function”. Do you have any suggestions? Thanks!

---

<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:** [February 21, 2024, 5:39pm UTC](https://discourse.psychopy.org/t/platform-unknown-instead-of-psychojs-when-syncing-experiment-to-pavlovia-404-not-found/38764/6 "2024-02-21T17:39:20Z")

</div>

Here’s that error.

> [@TypeError: Number.IsInteger is not a function](https://discourse.psychopy.org/t/typeerror-number-isinteger-is-not-a-function/37608):
>
> URL of experiment: [WTK\_Newstories [PsychoPy]](https://run.pavlovia.org/socialdecisionlab/wtk_newstories) Description of the problem: This error (TypeError: Number.IsInteger is not a function) comes up I can’t work out the cause of it. It begins at the first point after instructions, trying to draw basic text to a screen. It does not matter if the text comes from an input file or if I just type it in the box. It works fine in PsychoPy, using the automatic translation to JS. I have been trying to troubleshoot for a few hours now, and I am still stumpe…

Variable names to avoid are: class, core, final, image, index, Length, list, Object, Number, round, sound, Symbol, t, thisTrial, trials, util, visual.

> **[PsychoPy Python to Javascript crib sheet 2023](https://docs.google.com/document/d/1TSEgiG3SeGSr7LWoRahTZm7vk_loU8zKoDQh2sV1KFw/edit?usp=sharing)**
>
> This Doc is private

---

<div class="post-metadata">

**Author:** ![Tarro](https://avatars.discourse-cdn.com/v4/letter/t/3ab097/32.png) [@Tarro](https://discourse.psychopy.org/u/Tarro)\
**Post date:** [February 21, 2024, 5:54pm UTC](https://discourse.psychopy.org/t/platform-unknown-instead-of-psychojs-when-syncing-experiment-to-pavlovia-404-not-found/38764/7 "2024-02-21T17:54:06Z")

</div>

> [@wakecarter](#):
>
> class, core, final, image, index,

I have checked all my variables’ names, there is no clash…
