# Bug: A notebook was completely reset

**URL:** <https://talk.observablehq.com/t/bug-a-notebook-was-completely-reset/2262>\
**Category:** Feedback\
**Created:** [August 15, 2019, 9:54am UTC](https://talk.observablehq.com/t/bug-a-notebook-was-completely-reset/2262 "2019-08-15T09:54:40Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Fil](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.observablehq.com/fil/32/207_2.png) [@Fil](https://talk.observablehq.com/u/Fil)\
**Post date:** [August 15, 2019, 9:54am UTC](https://talk.observablehq.com/t/bug-a-notebook-was-completely-reset/2262/1 "2019-08-15T09:54:40Z")

</div>

Notebook 6d08b1f99b2c9f4b contained 5 or 6 cells and was shared. When I re-opened my computer it was private, almost empty (it had only 2 cells, one with “Untitled” and one empty), and its history was gone.

Not a big deal for me, as I was able to write it again with a few copy/paste.

---

<div class="post-metadata">

**Author:** ![Fil](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.observablehq.com/fil/32/207_2.png) [@Fil](https://talk.observablehq.com/u/Fil)\
**Post date:** [August 15, 2019, 9:57am UTC](https://talk.observablehq.com/t/bug-a-notebook-was-completely-reset/2262/2 "2019-08-15T09:57:42Z")

</div>

From my browser history: notebook created around 10:52 (French time) and found empty around 11h47.

---

<div class="post-metadata">

**Author:** ![aaronkyle](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.observablehq.com/aaronkyle/32/8106_2.png) [@aaronkyle](https://talk.observablehq.com/u/aaronkyle)\
**Post date:** [August 15, 2019, 1:55pm UTC](https://talk.observablehq.com/t/bug-a-notebook-was-completely-reset/2262/3 "2019-08-15T13:55:59Z")

</div>

Weird. I had nearly the same thing happen around the same time. I discarded the URL of the draft that got rolled back, but have another notebook that I got locked out of entirely. I wrote in using feedback email about the locked notebook - wish I had saved the other URL.

---

<div class="post-metadata">

**Author:** ![mbostock](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.observablehq.com/mbostock/32/9_2.png) [@mbostock](https://talk.observablehq.com/u/mbostock)\
**Post date:** [August 15, 2019, 2:14pm UTC](https://talk.observablehq.com/t/bug-a-notebook-was-completely-reset/2262/4 "2019-08-15T14:14:48Z")

</div>

We are investigating an issue where changes to new notebooks are not saved until you reload. Please standby. You can workaround the issue by reloading after making your first edit to a new notebook.

---

<div class="post-metadata">

**Author:** ![mootari](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.observablehq.com/mootari/32/581_2.png) [@mootari](https://talk.observablehq.com/u/mootari)\
**Post date:** [August 15, 2019, 2:21pm UTC](https://talk.observablehq.com/t/bug-a-notebook-was-completely-reset/2262/5 "2019-08-15T14:21:07Z")

</div>

Perhaps related: There’s a flood of `/document/undefined/comments` WS requests on unsaved notebooks.

---

<div class="post-metadata">

**Author:** ![mbostock](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.observablehq.com/mbostock/32/9_2.png) [@mbostock](https://talk.observablehq.com/u/mbostock)\
**Post date:** [August 15, 2019, 2:21pm UTC](https://talk.observablehq.com/t/bug-a-notebook-was-completely-reset/2262/6 "2019-08-15T14:21:20Z")

</div>

Yes, that’s related.

---

<div class="post-metadata">

**Author:** ![jashkenas](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.observablehq.com/jashkenas/32/1778_2.png) [@jashkenas](https://talk.observablehq.com/u/jashkenas)\
**Post date:** [August 15, 2019, 2:55pm UTC](https://talk.observablehq.com/t/bug-a-notebook-was-completely-reset/2262/7 "2019-08-15T14:55:54Z")

</div>

This bug should be fixed now, and `/new` notebooks should again be saving correctly when first created.

The glitch was my fault — created while trying to address [a semi-related issue](https://talk.observablehq.com/t/bug-forking-suggestions-from-other-users-only-works-in-compare-view/2261/2) yesterday, so please direct any ire and opprobrium at me.

Going forward, we’re going to upgrade our integration testing system and practices around what appear to be “small fixes” like this one was supposed to be.

Apologies!
