# Kibana 5.1.1 to 5.4.1 Import Visualizations: Cannot read property 'fields' of undefined

**URL:** https://discuss.elastic.co/t/kibana-5-1-1-to-5-4-1-import-visualizations-cannot-read-property-fields-of-undefined/90140
**Category:** Kibana
**Created:** [June 20, 2017, 5:41pm UTC](https://discuss.elastic.co/t/kibana-5-1-1-to-5-4-1-import-visualizations-cannot-read-property-fields-of-undefined/90140 "2017-06-20T17:41:47Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![k2nike](https://avatars.discourse-cdn.com/v4/letter/k/bb73d2/32.png) [@k2nike](https://discuss.elastic.co/u/k2nike)
#### Post date: [June 20, 2017, 5:41pm UTC](https://discuss.elastic.co/t/kibana-5-1-1-to-5-4-1-import-visualizations-cannot-read-property-fields-of-undefined/90140/1 "2017-06-20T17:41:47Z")

</div>

I'm upgrading from ES/Kibana 5.1.1 to 5.4.1. I've taken the mappings from 5.1.1 and re-created my index on 5.4.1 and re-indexed my data. However, when I export and re-import my visualization objects, I get three errors of "Cannot read property 'fields' of undefined". I've also tried opening the dashboards and running the queries manually - they work in Sense, but not through Kibana. Any thoughts?

---

<div class="post-metadata">

### Author: ![tsullivan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tsullivan/32/31077_2.png) [@tsullivan](https://discuss.elastic.co/u/tsullivan)
#### Post date: [June 21, 2017, 10:50pm UTC](https://discuss.elastic.co/t/kibana-5-1-1-to-5-4-1-import-visualizations-cannot-read-property-fields-of-undefined/90140/2 "2017-06-21T22:50:55Z")

</div>

Do the saved objects still get created regardless of the error?

What install method did you use?

---

<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: [July 19, 2017, 10:51pm UTC](https://discuss.elastic.co/t/kibana-5-1-1-to-5-4-1-import-visualizations-cannot-read-property-fields-of-undefined/90140/3 "2017-07-19T22:51:04Z")

</div>

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