# Unable to import saved objects file

**URL:** <https://discuss.elastic.co/t/unable-to-import-saved-objects-file/248080>\
**Category:** Kibana\
**Created:** [September 9, 2020, 9:50pm UTC](https://discuss.elastic.co/t/unable-to-import-saved-objects-file/248080 "2020-09-09T21:50:45Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![sc\_1010](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sc_1010/32/51976_2.png) [@sc\_1010](https://discuss.elastic.co/u/sc_1010)\
**Post date:** [September 9, 2020, 9:50pm UTC](https://discuss.elastic.co/t/unable-to-import-saved-objects-file/248080/1 "2020-09-09T21:50:45Z")

</div>

Hi all,

I was doing a full restore of all of the saved objects when migrating my elastic datasource.

Versions:  
Elastic 7.7.1  
Kibana 7.7.1

I got a full export from `/api/saved_objects/_export` to an ndjson file.

When trying to upload this file, i got timeouts from the terminal after 2 minutes.  
The GUI also ran for a minute and `failed to import` without an error.

The file with the saved objects had around 5000 objects.

To import the objects i had to split the ndjson file into 4 separate files.

Has anyone else encountered this?

Are there any settings that need to be changed to fix this?

---

<div class="post-metadata">

**Author:** ![wylie](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wylie/32/81794_2.png) [@wylie](https://discuss.elastic.co/u/wylie)\
**Post date:** [September 10, 2020, 7:15pm UTC](https://discuss.elastic.co/t/unable-to-import-saved-objects-file/248080/2 "2020-09-10T19:15:14Z")

</div>

What was the error message exactly? It should always show a reason.

---

<div class="post-metadata">

**Author:** ![sc\_1010](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sc_1010/32/51976_2.png) [@sc\_1010](https://discuss.elastic.co/u/sc_1010)\
**Post date:** [September 10, 2020, 8:31pm UTC](https://discuss.elastic.co/t/unable-to-import-saved-objects-file/248080/3 "2020-09-10T20:31:14Z")

</div>

![Screenshot 2020-09-10 at 21.23.06](https://us1.discourse-cdn.com/elastic/original/3X/d/d/dda039fdaba6455b00b67a9f11d09cdfe43a248a.png)  
I have attached a screenshot of the manual upload via the gui, i have checked the logs and i can only see that the import api was invoked. I also forgot to mention the size of the file which is 14mb.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [October 8, 2020, 8:31pm UTC](https://discuss.elastic.co/t/unable-to-import-saved-objects-file/248080/4 "2020-10-08T20:31:25Z")

</div>

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