# Unable to import saved objects in Kibana

**URL:** <https://discuss.elastic.co/t/unable-to-import-saved-objects-in-kibana/243020>\
**Category:** Kibana\
**Created:** [July 29, 2020, 8:59am UTC](https://discuss.elastic.co/t/unable-to-import-saved-objects-in-kibana/243020 "2020-07-29T08:59:30Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![leo.hamon](https://avatars.discourse-cdn.com/v4/letter/l/85f322/32.png) [@leo.hamon](https://discuss.elastic.co/u/leo.hamon)\
**Post date:** [July 29, 2020, 8:59am UTC](https://discuss.elastic.co/t/unable-to-import-saved-objects-in-kibana/243020/1 "2020-07-29T08:59:30Z")

</div>

Hi all,

I'm looking for some help to import saved objects on Kibana. I have about 75 visualizations and 10 dashboards on my computer and I want to export and import them in Kibana on a server.

But when I drop my .ndjson file on the server in saved objects in have a :  
"Sorry, there was an error  
The file could not be processed."

Did someone has already faced this issue ?  
Thank you in advance

---

<div class="post-metadata">

**Author:** ![fgjensen](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/fgjensen/32/62320_2.png) [@fgjensen](https://discuss.elastic.co/u/fgjensen)\
**Post date:** [July 29, 2020, 9:07am UTC](https://discuss.elastic.co/t/unable-to-import-saved-objects-in-kibana/243020/2 "2020-07-29T09:07:36Z")

</div>

Hi @leo.hamon

I have experienced the same error. I was able to get around it by exporting fewer objects in each export. It is not a explanation of the error, but just a quick fix to get a round it.

---

<div class="post-metadata">

**Author:** ![leo.hamon](https://avatars.discourse-cdn.com/v4/letter/l/85f322/32.png) [@leo.hamon](https://discuss.elastic.co/u/leo.hamon)\
**Post date:** [July 29, 2020, 9:13am UTC](https://discuss.elastic.co/t/unable-to-import-saved-objects-in-kibana/243020/3 "2020-07-29T09:13:33Z")

</div>

Thank you for your answer.

Actually, I already have imported the dashboards, but all visualizations (even if I export them one by one) bring me the error I wrote above. I think the issue is the index pattern, I don't know if I must create the same index pattern before import my saved objects, import the index pattern too, or import all visualizations and then create an index pattern.

---

<div class="post-metadata">

**Author:** ![Liza\_Katz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/liza_katz/32/52358_2.png) [@Liza\_Katz](https://discuss.elastic.co/u/Liza_Katz)\
**Post date:** [July 29, 2020, 12:22pm UTC](https://discuss.elastic.co/t/unable-to-import-saved-objects-in-kibana/243020/4 "2020-07-29T12:22:20Z")

</div>

@leo.hamon when exporting the objects, did you choose to include related objects?

![image](https://us1.discourse-cdn.com/elastic/original/3X/a/8/a8ea273e8e3eb72f865f85d0c3b1c9f8e4b4ce2f.png)

This would have made sure that all related objects are present when loading.

Liza

---

<div class="post-metadata">

**Author:** ![leo.hamon](https://avatars.discourse-cdn.com/v4/letter/l/85f322/32.png) [@leo.hamon](https://discuss.elastic.co/u/leo.hamon)\
**Post date:** [July 29, 2020, 12:24pm UTC](https://discuss.elastic.co/t/unable-to-import-saved-objects-in-kibana/243020/5 "2020-07-29T12:24:26Z")

</div>

I tried with and without including related objects. Same answer for both..

Leo

---

<div class="post-metadata">

**Author:** ![Liza\_Katz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/liza_katz/32/52358_2.png) [@Liza\_Katz](https://discuss.elastic.co/u/Liza_Katz)\
**Post date:** [July 29, 2020, 2:04pm UTC](https://discuss.elastic.co/t/unable-to-import-saved-objects-in-kibana/243020/6 "2020-07-29T14:04:01Z")

</div>

When you export with related objects, do you see the index patterns in that file?  
Could you post a visualization that you can't upload?

---

<div class="post-metadata">

**Author:** ![fgjensen](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/fgjensen/32/62320_2.png) [@fgjensen](https://discuss.elastic.co/u/fgjensen)\
**Post date:** [July 29, 2020, 3:38pm UTC](https://discuss.elastic.co/t/unable-to-import-saved-objects-in-kibana/243020/7 "2020-07-29T15:38:56Z")

</div>

You could also test with curl and the export objects API and excludeExportDetails=false, see the documentation - [https://www.elastic.co/guide/en/kibana/current/saved-objects-api-export.html](https://www.elastic.co/guide/en/kibana/current/saved-objects-api-export.html). This may give some useful hits

---

<div class="post-metadata">

**Author:** ![leo.hamon](https://avatars.discourse-cdn.com/v4/letter/l/85f322/32.png) [@leo.hamon](https://discuss.elastic.co/u/leo.hamon)\
**Post date:** [July 30, 2020, 7:42am UTC](https://discuss.elastic.co/t/unable-to-import-saved-objects-in-kibana/243020/8 "2020-07-30T07:42:56Z")

</div>

Hi everyone, thank you for helping me. I found where the error came from.. My local Kibana was 7.7.1 and the version on the server was 7.5.2 so there was a conflict.

thank you for your time !

---

<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:** [August 27, 2020, 7:43am UTC](https://discuss.elastic.co/t/unable-to-import-saved-objects-in-kibana/243020/9 "2020-08-27T07:43:01Z")

</div>

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