# There is a problem with this saved object A field associated with this object no longer exists in the index pattern. If you know what this error means, go ahead and fix it — otherwise click the delete button above

**URL:** https://discuss.elastic.co/t/there-is-a-problem-with-this-saved-object-a-field-associated-with-this-object-no-longer-exists-in-the-index-pattern-if-you-know-what-this-error-means-go-ahead-and-fix-it-otherwise-click-the-delete-button-above/187175
**Category:** Kibana
**Created:** [June 24, 2019, 5:08pm UTC](https://discuss.elastic.co/t/there-is-a-problem-with-this-saved-object-a-field-associated-with-this-object-no-longer-exists-in-the-index-pattern-if-you-know-what-this-error-means-go-ahead-and-fix-it-otherwise-click-the-delete-button-above/187175 "2019-06-24T17:08:12Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![Analyst](https://avatars.discourse-cdn.com/v4/letter/a/22d042/32.png) [@Analyst](https://discuss.elastic.co/u/Analyst)
#### Post date: [June 24, 2019, 5:08pm UTC](https://discuss.elastic.co/t/there-is-a-problem-with-this-saved-object-a-field-associated-with-this-object-no-longer-exists-in-the-index-pattern-if-you-know-what-this-error-means-go-ahead-and-fix-it-otherwise-click-the-delete-button-above/187175/1 "2019-06-24T17:08:12Z")

</div>

Hi Team,

I recently imported a saved object into the kibana, but some of the visualizations are working fine but some of them are throwing the above error. I see that there are few posts on thsi topic but i having trouble finding the path to fix it or atleast figuring out what is causing this.

So far, i exported the saved object file and tried to find the index field in that file. It seems that all the index fields have same value and still some of them are failing while others are passing. So i guess index filed does not look like be the issue here.

below is the screenshot of the error.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/9/d/9d0a59a3c2a83f6667cf8fbf7acf6b42e0a65d89.png)

any help or suggestion how i can troubleshoot and fix this?

Thanks

---

<div class="post-metadata">

### Author: ![LizaD](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lizad/32/51074_2.png) [@LizaD](https://discuss.elastic.co/u/LizaD)
#### Post date: [June 24, 2019, 5:10pm UTC](https://discuss.elastic.co/t/there-is-a-problem-with-this-saved-object-a-field-associated-with-this-object-no-longer-exists-in-the-index-pattern-if-you-know-what-this-error-means-go-ahead-and-fix-it-otherwise-click-the-delete-button-above/187175/2 "2019-06-24T17:10:31Z")

</div>

Hi John,

Can you check the kibana log does it have any detail about which fields maybe be giving the error?

Thanks,  
Liza

---

<div class="post-metadata">

### Author: ![LizaD](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lizad/32/51074_2.png) [@LizaD](https://discuss.elastic.co/u/LizaD)
#### Post date: [June 24, 2019, 5:12pm UTC](https://discuss.elastic.co/t/there-is-a-problem-with-this-saved-object-a-field-associated-with-this-object-no-longer-exists-in-the-index-pattern-if-you-know-what-this-error-means-go-ahead-and-fix-it-otherwise-click-the-delete-button-above/187175/3 "2019-06-24T17:12:23Z")

</div>

Could also check under the index pattern fields.

---

<div class="post-metadata">

### Author: ![Analyst](https://avatars.discourse-cdn.com/v4/letter/a/22d042/32.png) [@Analyst](https://discuss.elastic.co/u/Analyst)
#### Post date: [June 24, 2019, 5:31pm UTC](https://discuss.elastic.co/t/there-is-a-problem-with-this-saved-object-a-field-associated-with-this-object-no-longer-exists-in-the-index-pattern-if-you-know-what-this-error-means-go-ahead-and-fix-it-otherwise-click-the-delete-button-above/187175/4 "2019-06-24T17:31:12Z")

</div>

Hi Liza,

Below is the snippet for index pattern fields

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/7/7/77f7851d275aff88700555ae55ea5356e85e6f07.png)

I couldn't find a location where kibana writes logs. Search shows that it's written at standard stdout and i couldn't find anything interesting there.

Thanks

---

<div class="post-metadata">

### Author: ![LizaD](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lizad/32/51074_2.png) [@LizaD](https://discuss.elastic.co/u/LizaD)
#### Post date: [June 24, 2019, 5:33pm UTC](https://discuss.elastic.co/t/there-is-a-problem-with-this-saved-object-a-field-associated-with-this-object-no-longer-exists-in-the-index-pattern-if-you-know-what-this-error-means-go-ahead-and-fix-it-otherwise-click-the-delete-button-above/187175/5 "2019-06-24T17:33:07Z")

</div>

Thanks John, @joshdover any thoughts on how to debug this error?

---

<div class="post-metadata">

### Author: ![rebirther](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rebirther/32/19228_2.png) [@rebirther](https://discuss.elastic.co/u/rebirther)
#### Post date: [June 24, 2019, 5:38pm UTC](https://discuss.elastic.co/t/there-is-a-problem-with-this-saved-object-a-field-associated-with-this-object-no-longer-exists-in-the-index-pattern-if-you-know-what-this-error-means-go-ahead-and-fix-it-otherwise-click-the-delete-button-above/187175/6 "2019-06-24T17:38:11Z")

</div>

Hello @Analyst

I had same problem.  
Visualization stores index pattern ID, and if it is missing, Kibana will not save visualization.

You need to recreate pattern index with old ID or change its new ID in visualization.

---

<div class="post-metadata">

### Author: ![joshdover](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/joshdover/32/42020_2.png) [@joshdover](https://discuss.elastic.co/u/joshdover)
#### Post date: [June 24, 2019, 7:32pm UTC](https://discuss.elastic.co/t/there-is-a-problem-with-this-saved-object-a-field-associated-with-this-object-no-longer-exists-in-the-index-pattern-if-you-know-what-this-error-means-go-ahead-and-fix-it-otherwise-click-the-delete-button-above/187175/7 "2019-06-24T19:32:45Z")

</div>

This error happens in a few cases:

- The index pattern does not exist
- The index pattern's field list does not include a field referenced by the Viz
- ...possibly others

Handling of relationships in Saved Objects is a bit error prone before Kibana 7.0, but we might be able to get some more information from your browser's dev tools. Can you open the Network tab in the browser dev tools and look for the request that failed? In the "preview" tab for the request you may be able to find a list of missing fields from the index pattern.

In general, it may be a good idea to refresh the index pattern itself by going to Management \> Index Patterns, find the one you're working with and clicking the "Refresh" icon in the top right.

---

<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 22, 2019, 7:32pm UTC](https://discuss.elastic.co/t/there-is-a-problem-with-this-saved-object-a-field-associated-with-this-object-no-longer-exists-in-the-index-pattern-if-you-know-what-this-error-means-go-ahead-and-fix-it-otherwise-click-the-delete-button-above/187175/8 "2019-07-22T19:32:50Z")

</div>

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