Import error on content type with images

Hi there,
I have an issue when I try to import JSON documents into a content type which has 2 image fields:
Screen Shot 2021-01-28 at 11.38.51

The error is always the same message and always points to the top of the JSON file.
I think the issue is that there are no images for the new documents so the JSON files are contains no information about them.
Could you advise please how should I pass the empty image fields? I can't find any related info in the documentation.
Thank you.

Hello Ceri,

Welcome to the Prismic community.

Did you provide the path of the images in your JSON files? If you're importing documents that contain images, you need to provide the path of the images in your JSON files.

Please find the complete detail in this user-guide.

Let me know if you have any other doubt.



Hello - this is about importing when there are no images - it seems we cannot import if image is blank.

You might like to read our thread in Slack here for more info:

Hi @ceri,

I apologize for the late response. Yes, It's true that we cannot import if image field/object is empty.


This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.