# Can't get my experiments to save data - unsure what the problem is

**URL:** <https://discourse.psychopy.org/t/cant-get-my-experiments-to-save-data-unsure-what-the-problem-is/26570>\
**Category:** jsPsych\
**Created:** [December 22, 2021, 11:39pm UTC](https://discourse.psychopy.org/t/cant-get-my-experiments-to-save-data-unsure-what-the-problem-is/26570 "2021-12-22T23:39:36Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Becca](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/becca/32/34260_2.png) [@Becca](https://discourse.psychopy.org/u/Becca)\
**Post date:** [November 2, 2022, 5:49pm UTC](https://discourse.psychopy.org/t/cant-get-my-experiments-to-save-data-unsure-what-the-problem-is/26570/3 "2022-11-02T17:49:05Z")

</div>

FYI for future users searching this, another reason for this error can be if you accidentally clear your timeline after the pavlovia\_init. Something like:

```auto
/* init connection with pavlovia.org */
var pavlovia_init = '{'
  type: "pavlovia",
  command: "init"
'}';
timeline.push(pavlovia_init);

var timeline = [] // this is a mistake and removes the pavlovia init

```

to fix it ensure that pavlovia\_init is not cleared from the timeline

---

_[View the full topic](https://discourse.psychopy.org/t/cant-get-my-experiments-to-save-data-unsure-what-the-problem-is/26570)._
