# Fatal error when importing documents

**URL:** https://community.prismic.io/t/fatal-error-when-importing-documents/8490
**Category:** Prismic for Content Creators
**Created:** [December 30, 2021, 8:35am UTC](https://community.prismic.io/t/fatal-error-when-importing-documents/8490 "2021-12-30T08:35:24Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![dev31](https://avatars.discourse-cdn.com/v4/letter/d/a88e4f/32.png) [@dev31](https://community.prismic.io/u/dev31)
#### Post date: [December 30, 2021, 8:35am UTC](https://community.prismic.io/t/fatal-error-when-importing-documents/8490/1 "2021-12-30T08:35:24Z")

</div>

I tried to import a document but I got this fatal error which I do not understand:

![image](https://europe1.discourse-cdn.com/flex013/uploads/prismic/original/2X/1/1d7f86b231849ef401418b6aa5f51f63b3d95f94.png)

Could you help me figure out the issue here please ?

---

<div class="post-metadata">

### Author: ![Pau](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/pau/32/5422_2.png) [@Pau](https://community.prismic.io/u/Pau)
#### Post date: [December 30, 2021, 3:50pm UTC](https://community.prismic.io/t/fatal-error-when-importing-documents/8490/2 "2021-12-30T15:50:09Z")

</div>

Hey there, welcome to the community.

- What type of field is `content`?
- What changes did you make to this field before importing it?

---

<div class="post-metadata">

### Author: ![dev31](https://avatars.discourse-cdn.com/v4/letter/d/a88e4f/32.png) [@dev31](https://community.prismic.io/u/dev31)
#### Post date: [January 4, 2022, 10:05am UTC](https://community.prismic.io/t/fatal-error-when-importing-documents/8490/4 "2022-01-04T10:05:44Z")

</div>

Hello, thanks for your reply.

The content field contains all the slices.

I wrote a script to migrate the content of an old slice to a new one. It worked for all pages except for this one. By looking at the document, I do not see any obvious mistake, so I was hoping someone could help me understand the error message.

---

<div class="post-metadata">

### Author: ![Pau](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/pau/32/5422_2.png) [@Pau](https://community.prismic.io/u/Pau)
#### Post date: [January 5, 2022, 4:20pm UTC](https://community.prismic.io/t/fatal-error-when-importing-documents/8490/5 "2022-01-05T16:20:57Z")

</div>

We're going to try to reproduce the error.  
Can you send us the entire zip file you're trying to import and the JSON of your Custom Type?
