# Import only allowing a single document upload

**URL:** <https://community.prismic.io/t/import-only-allowing-a-single-document-upload/10839>\
**Category:** Prismic for Content Creators\
**Created:** [August 15, 2022, 1:43pm UTC](https://community.prismic.io/t/import-only-allowing-a-single-document-upload/10839 "2022-08-15T13:43:56Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![michal.dziedzic](https://avatars.discourse-cdn.com/v4/letter/m/e495f1/32.png) [@michal.dziedzic](https://community.prismic.io/u/michal.dziedzic)\
**Post date:** [August 17, 2022, 6:36am UTC](https://community.prismic.io/t/import-only-allowing-a-single-document-upload/10839/4 "2022-08-17T06:36:54Z")

</div>

Hi,  
thanks for answering and apologies for not providing sufficient clarity in the beginning. I have already exhausted all possible options I could have think of regarding ways of importing my data.

The things I have tried:

1. Zip a directory that contains JSON files and try to upload it. The resulting file structure is:

```auto
- dir.zip
-- data1.json
-- data2.json
...
-- data100.json

```

The above errors out with `We couldn't find any document in the archive`. I found a troubleshooting [FAQ](https://community.prismic.io/t/troubleshooting-import-export/10745), where the suggested resolution is to also zip the json files.

1. Put all of them into directory, then compress that directory and proceed with an import. The resulting structure looks like this:

```auto
- dir.zip
-- data1.json.zip
-- data2.json.zip
...
-- data100.json.zip

```

This also doesn't work.

The only thing that works reliably is me uploading a single `.json.zip` file. This however doesn't scale well with the amount of data we're looking to import.

Would it be possible to update the documentation, so that it's clear what type of files are expected and how one needs to structure the import file for the job to succeed?

On another note, what I also noticed is that if I upload a zip file I just downloaded from export, the import works correctly. However, if i unzip the exported file and then zip back again, the upload fails. All of the above tests were conducted on a standard MacBook Pro with an Intel chip.

---

_[View the full topic](https://community.prismic.io/t/import-only-allowing-a-single-document-upload/10839)._
