# Import Saved Objects from Newer Version (ndjson) to Older Version (json)

**URL:** <https://discuss.elastic.co/t/import-saved-objects-from-newer-version-ndjson-to-older-version-json/209025>\
**Category:** Kibana\
**Created:** [November 22, 2019, 7:46am UTC](https://discuss.elastic.co/t/import-saved-objects-from-newer-version-ndjson-to-older-version-json/209025 "2019-11-22T07:46:30Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Zany](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/zany/32/50113_2.png) [@Zany](https://discuss.elastic.co/u/Zany)\
**Post date:** [November 22, 2019, 7:46am UTC](https://discuss.elastic.co/t/import-saved-objects-from-newer-version-ndjson-to-older-version-json/209025/1 "2019-11-22T07:46:30Z")

</div>

The following error message appears when I tried to import saved objects that were in ndjson format into a Kibana version that accepts only json format.

> Sorry, there was an error. The file could not be processed.

In the real world, we have multiple environments (e.g. DEV, STG, QA, PRD) that are not always in the same version. The format change in the import functionality should be better managed (e.g. introduce a transition period by accepting both formats) because it is breaking all deployments in higher environments.

**Questions:**

- How can we import saved objects in ndjson format into a Kibana version that accepts only json format?

- Does Elastic team have a tool for us to convert saved objects between the 2 formats?

---

<div class="post-metadata">

**Author:** ![Brandon\_Kobel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/brandon_kobel/32/14829_2.png) [@Brandon\_Kobel](https://discuss.elastic.co/u/Brandon_Kobel)\
**Post date:** [November 22, 2019, 4:38pm UTC](https://discuss.elastic.co/t/import-saved-objects-from-newer-version-ndjson-to-older-version-json/209025/2 "2019-11-22T16:38:17Z")

</div>

Hey @Zany how are you trying to import the saved-objects, are you using the [Saved Object APIs](https://www.elastic.co/guide/en/kibana/7.4/saved-objects-api.html)? Also, which version are you exporting into what target version? We try to keep imports from previous versions of Kibana working with newer versions of Kibana. However, it's not supported to go from a newer version of Kibana to a previous version of Kibana.

---

<div class="post-metadata">

**Author:** ![Zany](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/zany/32/50113_2.png) [@Zany](https://discuss.elastic.co/u/Zany)\
**Post date:** [November 25, 2019, 2:09am UTC](https://discuss.elastic.co/t/import-saved-objects-from-newer-version-ndjson-to-older-version-json/209025/3 "2019-11-25T02:09:49Z")

</div>

Hi Brandon\_Kobel, I was trying to import the saved objects from v7.4 to v6.8 via the UI.

 ![Untitled](https://us1.discourse-cdn.com/elastic/original/3X/d/4/d4f7f02599110ddf16bce9d0aa049774dfe8b024.png)

---

<div class="post-metadata">

**Author:** ![Brandon\_Kobel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/brandon_kobel/32/14829_2.png) [@Brandon\_Kobel](https://discuss.elastic.co/u/Brandon_Kobel)\
**Post date:** [November 25, 2019, 2:58pm UTC](https://discuss.elastic.co/t/import-saved-objects-from-newer-version-ndjson-to-older-version-json/209025/4 "2019-11-25T14:58:36Z")

</div>

Hey @Zany, that unfortunately isn't going to work. You can import from v6.8 to v7.4, but not from v7.4 to v6.8

---

<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:** [December 23, 2019, 2:58pm UTC](https://discuss.elastic.co/t/import-saved-objects-from-newer-version-ndjson-to-older-version-json/209025/5 "2019-12-23T14:58:40Z")

</div>

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