# Content disappearing after editing content type

**URL:** https://community.prismic.io/t/content-disappearing-after-editing-content-type/113
**Category:** Developing with Prismic
**Created:** [April 3, 2020, 5:33pm UTC](https://community.prismic.io/t/content-disappearing-after-editing-content-type/113 "2020-04-03T17:33:12Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![jjames.home](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/jjames.home/32/44_2.png) [@jjames.home](https://community.prismic.io/u/jjames.home)
#### Post date: [April 3, 2020, 5:33pm UTC](https://community.prismic.io/t/content-disappearing-after-editing-content-type/113/1 "2020-04-03T17:33:12Z")

</div>

Just had a mini panic when my slice content disappeared after making modifications to the content type JSON, and not just from the build but the Prismic UI too. Fortunately, Prismic support and Phil were on hand to help figure it out.

After adding the original JSON back it the documents returned in the Prismic UI and everyone was happy again.

Always remember to back up that custom type JSON.

---

<div class="post-metadata">

### Author: ![Phil](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/phil/32/14_2.png) [@Phil](https://community.prismic.io/u/Phil)
#### Post date: [April 6, 2020, 10:35am UTC](https://community.prismic.io/t/content-disappearing-after-editing-content-type/113/2 "2020-04-06T10:35:25Z")

</div>

Also for anyone who runs into the same issue and hasn’t made manual back up files of your custom types JSON structure, you can check v1 of your api to see if the old api ids and content are there: [https://your-repo-name.prismic.io/api/v1](https://your-repo-name.prismic.io/api/v1)

Hopefully if it’s still there in V1 you can recover the content by re-adding exactly the slice ids and the content api id’s in the custom type. If not I’m afraid the content is lost.

---

<div class="post-metadata">

### Author: ![thomas.bartlett](https://avatars.discourse-cdn.com/v4/letter/t/a8b319/32.png) [@thomas.bartlett](https://community.prismic.io/u/thomas.bartlett)
#### Post date: [June 17, 2020, 1:46pm UTC](https://community.prismic.io/t/content-disappearing-after-editing-content-type/113/3 "2020-06-17T13:46:43Z")

</div>

@Phil how can I see the `check v1 of your api to see if the old api ids and content are there...` ?  
I can access the API explorer, but am unsure how I would find old versions of json structures?

---

<div class="post-metadata">

### Author: ![Phil](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/phil/32/14_2.png) [@Phil](https://community.prismic.io/u/Phil)
#### Post date: [June 17, 2020, 2:07pm UTC](https://community.prismic.io/t/content-disappearing-after-editing-content-type/113/4 "2020-06-17T14:07:26Z")

</div>

Hi Thomas,

This is only a recommendation for recovering from an accidental custom type change immediately after the fact. You will be able to see the document structure from the API response, if it has not been overwritten, and rebuild the custom type based on the API ID’s of the documents being returned.

If you have overwritten the documents by publishing new versions then you cannot see the old API ID’s to rebuild from.

This is not a way of checking historic versions of a custom type. Is that what you’re searching for?

---

<div class="post-metadata">

### Author: ![thomas.bartlett](https://avatars.discourse-cdn.com/v4/letter/t/a8b319/32.png) [@thomas.bartlett](https://community.prismic.io/u/thomas.bartlett)
#### Post date: [June 17, 2020, 2:10pm UTC](https://community.prismic.io/t/content-disappearing-after-editing-content-type/113/5 "2020-06-17T14:10:25Z")

</div>

Thanks @Phil - I understand now.

I have a client who claim their content has suddenly disappeared for a particular type (“FAQ”).  
They have 10 or so which are blank, with 2 that are not blank. All were modified around 5 months ago according to the writing room UI.

I am trying to figure out if there has been a custom type change which may have broken something.

---

<div class="post-metadata">

### Author: ![Phil](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/phil/32/14_2.png) [@Phil](https://community.prismic.io/u/Phil)
#### Post date: [June 17, 2020, 2:16pm UTC](https://community.prismic.io/t/content-disappearing-after-editing-content-type/113/6 "2020-06-17T14:16:34Z")

</div>

Yes, if there have been new ones published after the change, then content is lost unfortunately. Sorry to hear about that.

We recommend [keeping a copy of the custom types JSON in your local project](https://user-guides.prismic.io/en/articles/380233-how-to-version-custom-types), but I don’t think that would help in this case if the API response was updated.

---

<div class="post-metadata">

### Author: ![Phil](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/phil/32/14_2.png) [@Phil](https://community.prismic.io/u/Phil)
#### Post date: [September 15, 2020, 4:46pm UTC](https://community.prismic.io/t/content-disappearing-after-editing-content-type/113/7 "2020-09-15T16:46:06Z")

</div>



---

<div class="post-metadata">

### Author: ![system](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/system/32/1746_2.png) [@system](https://community.prismic.io/u/system)
#### Post date: [December 9, 2021, 5:35pm UTC](https://community.prismic.io/t/content-disappearing-after-editing-content-type/113/8 "2021-12-09T17:35:52Z")

</div>


