# Unknown error message while opening Monitoring

**URL:** <https://discuss.elastic.co/t/unknown-error-message-while-opening-monitoring/55693>\
**Category:** Elasticsearch\
**Created:** [July 17, 2016, 1:41pm UTC](https://discuss.elastic.co/t/unknown-error-message-while-opening-monitoring/55693 "2016-07-17T13:41:26Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![gupta.yuvraj](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gupta.yuvraj/32/7550_2.png) [@gupta.yuvraj](https://discuss.elastic.co/u/gupta.yuvraj)\
**Post date:** [July 17, 2016, 1:41pm UTC](https://discuss.elastic.co/t/unknown-error-message-while-opening-monitoring/55693/1 "2016-07-17T13:41:26Z")

</div>

Upon opening Monitoring tab in Kibana, getting following error:-

Monitoring: Error 400 Bad Request: [parse\_exception] Failed to derive xcontent

The error doesn't describe what went wrong and instead gives an error which isn't self explanatory. I am unsure what am i doing wrong which made me come across this error.

---

<div class="post-metadata">

**Author:** ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Post date:** [July 18, 2016, 7:22am UTC](https://discuss.elastic.co/t/unknown-error-message-while-opening-monitoring/55693/2 "2016-07-18T07:22:21Z")

</div>

Hey,

can you tell us which Elasticsearch version you are using, which kibana version and check kibana/elasticsearch logs for exceptions, include those here as well as maybe provide a screenshot where exactly this happens?

--Alex

---

<div class="post-metadata">

**Author:** ![gupta.yuvraj](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gupta.yuvraj/32/7550_2.png) [@gupta.yuvraj](https://discuss.elastic.co/u/gupta.yuvraj)\
**Post date:** [July 24, 2016, 9:32am UTC](https://discuss.elastic.co/t/unknown-error-message-while-opening-monitoring/55693/3 "2016-07-24T09:32:16Z")

</div>

Hi @spinscale

Elasticsearch & Kibana version is 5.0.0.alpha 4.  
Attaching Kibana & Elasticsearch logs {screenshot} showcasing the exception.

**Kibana Logs**

 ![](https://us1.discourse-cdn.com/elastic/original/2X/c/c6d32664b34103906b680c848ce2ad3407815f6a.png)

**Elasticsearch Logs**

 ![](https://us1.discourse-cdn.com/elastic/original/2X/b/b164458e99313a053817f02bad0f33a7f0188cb7.png)

---

<div class="post-metadata">

**Author:** ![tanguy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tanguy/32/6030_2.png) [@tanguy](https://discuss.elastic.co/u/tanguy)\
**Post date:** [July 25, 2016, 11:58am UTC](https://discuss.elastic.co/t/unknown-error-message-while-opening-monitoring/55693/4 "2016-07-25T11:58:34Z")

</div>

Hi Gupta,

The "Failed to derive xcontent" is a generic error message indicating that Elasticsearch wasn't able to determine the format of a document or a query.

In your case, it might be related to a `query` restriction in your role definition.

Could you please provide the roles definitions for the user who has this error? Thanks

---

<div class="post-metadata">

**Author:** ![gupta.yuvraj](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gupta.yuvraj/32/7550_2.png) [@gupta.yuvraj](https://discuss.elastic.co/u/gupta.yuvraj)\
**Post date:** [August 1, 2016, 4:06am UTC](https://discuss.elastic.co/t/unknown-error-message-while-opening-monitoring/55693/5 "2016-08-01T04:06:53Z")

</div>

Hi

Really sorry for such a late reply.  
Yes as you mentioned it's a generic error message.  
Can we have a specific error message displayed instead of generic error message?

It will be more useful to the user to understand it easily.

---

<div class="post-metadata">

**Author:** ![gupta.yuvraj](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gupta.yuvraj/32/7550_2.png) [@gupta.yuvraj](https://discuss.elastic.co/u/gupta.yuvraj)\
**Post date:** [August 6, 2016, 10:44am UTC](https://discuss.elastic.co/t/unknown-error-message-while-opening-monitoring/55693/6 "2016-08-06T10:44:40Z")

</div>

![](https://us1.discourse-cdn.com/elastic/original/2X/0/0a0a8fae39adb81007c9b9eeea2ac9427ea82281.png)

I create a role as shown above and associated the role with a new user.  
Upon opening Kibana and logging via the new user, I was unable to view any indices or information in either of Discover, Visualize or Dashboard Page. It was showing me a blank page.  
For this I am seeing an error of Failed to derive x-content.

The error is not useful at all for an end-user to understand what wrong is he doing.

Elasticsearch log error as shown:-

 ![](https://us1.discourse-cdn.com/elastic/original/2X/9/9ebd483e3789259866c423953b3f7b9ac9585a6d.png)

* * *

Also, on Opening Monitoring Page getting following error:-

 ![](https://us1.discourse-cdn.com/elastic/original/2X/7/78f2025568039f2c73acf81957ef842d4de827ea.png)

For the above, Kibana logs are shown as:-

 ![](https://us1.discourse-cdn.com/elastic/original/2X/c/c9853f102de2d6ea43301de0d953fad700b662f5.png)

---

<div class="post-metadata">

**Author:** ![bohyun](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bohyun/32/10087_2.png) [@bohyun](https://discuss.elastic.co/u/bohyun)\
**Post date:** [August 6, 2016, 3:54pm UTC](https://discuss.elastic.co/t/unknown-error-message-while-opening-monitoring/55693/7 "2016-08-06T15:54:59Z")

</div>

I tried to reproduce based on your steps and I did not encounter such error messages.  
I created a testing user and associated that user with a testing role as you shown above with access to all indices and clusters. Then I logged in as a testing user and I was able to see what was in discover using \* index pattern and the monitoring tab contents.

![](https://us1.discourse-cdn.com/elastic/original/2X/5/589fd7ea89e69560a8f0f00931456b9eed997ef7.gif)

---

<div class="post-metadata">

**Author:** ![gupta.yuvraj](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gupta.yuvraj/32/7550_2.png) [@gupta.yuvraj](https://discuss.elastic.co/u/gupta.yuvraj)\
**Post date:** [August 7, 2016, 11:07am UTC](https://discuss.elastic.co/t/unknown-error-message-while-opening-monitoring/55693/8 "2016-08-07T11:07:37Z")

</div>

Hi

I am also unable to reproduce it every time, but few times it occurs and provides a generic error.  
If possible you can replace the generic error with specific errors for the same.

---

<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 6, 2017, 1:40pm UTC](https://discuss.elastic.co/t/unknown-error-message-while-opening-monitoring/55693/9 "2017-07-06T13:40:34Z")

</div>


