# Kibana 6.3 - 502 Response for saving any search

**URL:** <https://discuss.elastic.co/t/kibana-6-3-502-response-for-saving-any-search/140509>\
**Category:** Kibana\
**Created:** [July 18, 2018, 10:17am UTC](https://discuss.elastic.co/t/kibana-6-3-502-response-for-saving-any-search/140509 "2018-07-18T10:17:10Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Harshad\_Velapure](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/harshad_velapure/32/33684_2.png) [@Harshad\_Velapure](https://discuss.elastic.co/u/Harshad_Velapure)\
**Post date:** [July 18, 2018, 10:17am UTC](https://discuss.elastic.co/t/kibana-6-3-502-response-for-saving-any-search/140509/1 "2018-07-18T10:17:10Z")

</div>

While saving/editing any visualisation or dashboard, getting below error

Dashboard: 502 Response

Less Info  
OK  
Error: 502 Response  
at https:///bundles/commons.bundle.js:3:428829  
at processQueue (https:///bundles/vendors.bundle.js:133:134252)  
at https:///bundles/vendors.bundle.js:133:135201  
at Scope.$digest (https:///bundles/vendors.bundle.js:133:146077)  
at Scope.$apply (https:///bundles/vendors.bundle.js:133:148856)  
at done (https:///bundles/vendors.bundle.js:133:101124)  
at completeRequest (https:///bundles/vendors.bundle.js:133:106024)  
at XMLHttpRequest.xhr.onload (https:///bundles/vendors.bundle.js:133:106783)

---

<div class="post-metadata">

**Author:** ![bhavyarm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bhavyarm/32/22392_2.png) [@bhavyarm](https://discuss.elastic.co/u/bhavyarm)\
**Post date:** [July 18, 2018, 1:20pm UTC](https://discuss.elastic.co/t/kibana-6-3-502-response-for-saving-any-search/140509/2 "2018-07-18T13:20:06Z")

</div>

Hi,

Is this on es/kibana 6.3.0? Are you using the default distribution( with basic license) or the oss? Also which os? Where do you see the error? Can you please post a screenshot of it? Can you still save the dashboard/viz or saving is not possible?

Thanks,  
Bhavya

---

<div class="post-metadata">

**Author:** ![Harshad\_Velapure](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/harshad_velapure/32/33684_2.png) [@Harshad\_Velapure](https://discuss.elastic.co/u/Harshad_Velapure)\
**Post date:** [July 18, 2018, 2:06pm UTC](https://discuss.elastic.co/t/kibana-6-3-502-response-for-saving-any-search/140509/3 "2018-07-18T14:06:15Z")

</div>

Hello @bhavyarm  
Thank you for reply.

Yes this is on kibana 6.3.0 and default distribution (x-pack free version)  
Operating System: CentOs 7.3.1611

I am still able to save my searches and any changes made to viz or dashboards. Uploaded one screenshot here. elk\_dashboard\_issue\_snapshot|690x387

Also I have noticed that it takes around 5-7 seconds in order to save any new modification.

Please let me know if I am missing something.

---

<div class="post-metadata">

**Author:** ![bhavyarm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bhavyarm/32/22392_2.png) [@bhavyarm](https://discuss.elastic.co/u/bhavyarm)\
**Post date:** [July 18, 2018, 2:12pm UTC](https://discuss.elastic.co/t/kibana-6-3-502-response-for-saving-any-search/140509/4 "2018-07-18T14:12:15Z")

</div>

Hi,

I cannot access that screenshot. Also are you seeing this error in Console? Can you try to upload the screenshot again?

If its taking 5-7 seconds for any modification - it could be because of your datasize and machine size. We had one bug prior to 6.3.0 on data table - but we fixed it.  
So - you might want to check your machine/data size.

Thanks,  
Bhavya

---

<div class="post-metadata">

**Author:** ![Harshad\_Velapure](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/harshad_velapure/32/33684_2.png) [@Harshad\_Velapure](https://discuss.elastic.co/u/Harshad_Velapure)\
**Post date:** [July 18, 2018, 2:27pm UTC](https://discuss.elastic.co/t/kibana-6-3-502-response-for-saving-any-search/140509/5 "2018-07-18T14:27:38Z")

</div>

@bhavyarm  
Sorry about that screenshot

 ![elk_dashboard_issue_snapshot](https://us1.discourse-cdn.com/elastic/original/3X/5/a/5a824e69271ffc0aee0b350de31db427be1d2d83.jpg)

I am seeing this error on UI only in Console status is 200

There is no change in data size as such, earlier I was using version 5.6 and on that things were working fine. Recently we migrated from 5.6 to 6.3

Could this be related to .kibana index ?

---

<div class="post-metadata">

**Author:** ![bhavyarm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bhavyarm/32/22392_2.png) [@bhavyarm](https://discuss.elastic.co/u/bhavyarm)\
**Post date:** [July 18, 2018, 5:06pm UTC](https://discuss.elastic.co/t/kibana-6-3-502-response-for-saving-any-search/140509/6 "2018-07-18T17:06:39Z")

</div>

It could be that one of the viz is causing this. I have asked our dashboard team to take a look at it.

Lets see what they say.

Cheers,  
Bhavya

---

<div class="post-metadata">

**Author:** ![Nathan\_Reese](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nathan_reese/32/84829_2.png) [@Nathan\_Reese](https://discuss.elastic.co/u/Nathan_Reese)\
**Post date:** [July 18, 2018, 6:58pm UTC](https://discuss.elastic.co/t/kibana-6-3-502-response-for-saving-any-search/140509/7 "2018-07-18T18:58:16Z")

</div>

Are there any errors in the browser console?

---

<div class="post-metadata">

**Author:** ![Harshad\_Velapure](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/harshad_velapure/32/33684_2.png) [@Harshad\_Velapure](https://discuss.elastic.co/u/Harshad_Velapure)\
**Post date:** [July 18, 2018, 8:02pm UTC](https://discuss.elastic.co/t/kibana-6-3-502-response-for-saving-any-search/140509/8 "2018-07-18T20:02:43Z")

</div>

@bhavyarm  
Thanks a lot ! 😃

@Nathan_Reese  
Below is the error screen when I opened one of the dashboard

 ![elk_browser_console_error1](https://us1.discourse-cdn.com/elastic/original/3X/c/d/cdc1c8550590f8fdf1587411b281b4737d5cc193.png)

Upon saving that dashboard I get below error for post request

![elk_browser_console_error_onPost](https://us1.discourse-cdn.com/elastic/original/3X/1/d/1d6aadb1a80681797cc03fd8f15b9a7dccf88fd4.jpg)

Thanks,  
Harshad

---

<div class="post-metadata">

**Author:** ![Nathan\_Reese](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nathan_reese/32/84829_2.png) [@Nathan\_Reese](https://discuss.elastic.co/u/Nathan_Reese)\
**Post date:** [July 18, 2018, 8:21pm UTC](https://discuss.elastic.co/t/kibana-6-3-502-response-for-saving-any-search/140509/9 "2018-07-18T20:21:11Z")

</div>

What browser are you using?

---

<div class="post-metadata">

**Author:** ![Harshad\_Velapure](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/harshad_velapure/32/33684_2.png) [@Harshad\_Velapure](https://discuss.elastic.co/u/Harshad_Velapure)\
**Post date:** [July 18, 2018, 8:22pm UTC](https://discuss.elastic.co/t/kibana-6-3-502-response-for-saving-any-search/140509/10 "2018-07-18T20:22:34Z")

</div>

I am using Chrome browser

---

<div class="post-metadata">

**Author:** ![Harshad\_Velapure](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/harshad_velapure/32/33684_2.png) [@Harshad\_Velapure](https://discuss.elastic.co/u/Harshad_Velapure)\
**Post date:** [July 22, 2018, 7:00pm UTC](https://discuss.elastic.co/t/kibana-6-3-502-response-for-saving-any-search/140509/11 "2018-07-22T19:00:09Z")

</div>

Hello, we did rolling upgrade of ELK about 3 weeks ago from 5.6 to 6.3  
Could this error be related to any missing step on .kibana index ?  
Please let me know your thoughts, any clue would be a great help ! 🙂

---

<div class="post-metadata">

**Author:** ![Nathan\_Reese](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nathan_reese/32/84829_2.png) [@Nathan\_Reese](https://discuss.elastic.co/u/Nathan_Reese)\
**Post date:** [July 22, 2018, 7:36pm UTC](https://discuss.elastic.co/t/kibana-6-3-502-response-for-saving-any-search/140509/12 "2018-07-22T19:36:31Z")

</div>

What version of chrome?

---

<div class="post-metadata">

**Author:** ![Harshad\_Velapure](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/harshad_velapure/32/33684_2.png) [@Harshad\_Velapure](https://discuss.elastic.co/u/Harshad_Velapure)\
**Post date:** [July 22, 2018, 7:37pm UTC](https://discuss.elastic.co/t/kibana-6-3-502-response-for-saving-any-search/140509/13 "2018-07-22T19:37:51Z")

</div>

I am using Version 67.0.3396.99 (Official Build) (64-bit)

---

<div class="post-metadata">

**Author:** ![Nathan\_Reese](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nathan_reese/32/84829_2.png) [@Nathan\_Reese](https://discuss.elastic.co/u/Nathan_Reese)\
**Post date:** [July 23, 2018, 2:48pm UTC](https://discuss.elastic.co/t/kibana-6-3-502-response-for-saving-any-search/140509/14 "2018-07-23T14:48:27Z")

</div>

Thanks for the information about your browser.

It sounds like you may have corrupt data in local storage. In a tab that is open to Kibana, can you open the Chrome developer tools, then go to the `Application tab`. In the Storage section expand Local Storage. After that, you'll see all your browser's local storage for kibana. What is in the `typeahead:discover-lucene` or `typeahead:discover-kuery` variable? You should see an array of strings. Do you have a null or undefined value in the array?

---

<div class="post-metadata">

**Author:** ![Harshad\_Velapure](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/harshad_velapure/32/33684_2.png) [@Harshad\_Velapure](https://discuss.elastic.co/u/Harshad_Velapure)\
**Post date:** [July 23, 2018, 2:50pm UTC](https://discuss.elastic.co/t/kibana-6-3-502-response-for-saving-any-search/140509/15 "2018-07-23T14:50:21Z")

</div>

thanks, sure let me check...

---

<div class="post-metadata">

**Author:** ![Harshad\_Velapure](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/harshad_velapure/32/33684_2.png) [@Harshad\_Velapure](https://discuss.elastic.co/u/Harshad_Velapure)\
**Post date:** [July 23, 2018, 2:59pm UTC](https://discuss.elastic.co/t/kibana-6-3-502-response-for-saving-any-search/140509/16 "2018-07-23T14:59:57Z")

</div>

It's something as below,

[""some-value"", "requestbody:"some-value"", "accessURL:"some-value"",…]  
0: ""some-value""  
1: "requestbody:"some-value""  
2: "accessURL:"some-value""  
3: ""GET some-value""  
4: "27835504661 AND 723868298 AND 000000402881807101048475084002"  
5: "27835504661 AND 723868298"  
6: "27835504661"  
7: "country"

I don't see any null values in this.

---

<div class="post-metadata">

**Author:** ![Harshad\_Velapure](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/harshad_velapure/32/33684_2.png) [@Harshad\_Velapure](https://discuss.elastic.co/u/Harshad_Velapure)\
**Post date:** [July 24, 2018, 10:02am UTC](https://discuss.elastic.co/t/kibana-6-3-502-response-for-saving-any-search/140509/17 "2018-07-24T10:02:52Z")

</div>

Updating error part. On browser, I get error for vendor.js line 133. Below is the snippet

 ![kibana_console_error](https://us1.discourse-cdn.com/elastic/original/3X/4/6/467b5caa0034a5d5b02be450b013947980054c21.png)

---

<div class="post-metadata">

**Author:** ![Nathan\_Reese](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nathan_reese/32/84829_2.png) [@Nathan\_Reese](https://discuss.elastic.co/u/Nathan_Reese)\
**Post date:** [July 24, 2018, 2:37pm UTC](https://discuss.elastic.co/t/kibana-6-3-502-response-for-saving-any-search/140509/18 "2018-07-24T14:37:36Z")

</div>

Can you try starting kibana with different `.kibana` index, maybe call it `.testkibana`. Can the same error be triggered?

---

<div class="post-metadata">

**Author:** ![Harshad\_Velapure](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/harshad_velapure/32/33684_2.png) [@Harshad\_Velapure](https://discuss.elastic.co/u/Harshad_Velapure)\
**Post date:** [July 24, 2018, 3:57pm UTC](https://discuss.elastic.co/t/kibana-6-3-502-response-for-saving-any-search/140509/19 "2018-07-24T15:57:41Z")

</div>

It's a prod environment, I will check if it's doable.

Thanks a lot !

---

<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 21, 2018, 3:57pm UTC](https://discuss.elastic.co/t/kibana-6-3-502-response-for-saving-any-search/140509/20 "2018-08-21T15:57:47Z")

</div>

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