# How to disable error message in Kibana?

**URL:** <https://discuss.elastic.co/t/how-to-disable-error-message-in-kibana/241138>\
**Category:** Kibana\
**Created:** [July 14, 2020, 1:00pm UTC](https://discuss.elastic.co/t/how-to-disable-error-message-in-kibana/241138 "2020-07-14T13:00:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Murango](https://avatars.discourse-cdn.com/v4/letter/m/d78d45/32.png) [@Murango](https://discuss.elastic.co/u/Murango)\
**Post date:** [July 14, 2020, 1:00pm UTC](https://discuss.elastic.co/t/how-to-disable-error-message-in-kibana/241138/1 "2020-07-14T13:00:17Z")

</div>

Hello,

Problem description:  
Elasticsearch version: 6.8.10  
Kibana version: 6.8.10

Describe the issue:

When user go to Discover in Kibana and he don’t have access to some data, he receive error:

Discover: no permissions for [indices:data/read/search] and User [name=user, roles=, requestedTenant=]  
Error: Request to Elasticsearch failed: {“error”:{“root\_cause”:[{“type”:“security\_exception”,“reason”:“no permissions for [indices:data/read/search] and User [name=user, roles=, requestedTenant=]”}],“type”:“security\_exception”,“reason”:“no permissions for [indices:data/read/search] and User [name=user, roles=, requestedTenant=]”},“status”:403}

How to disable this kind of messages so it will not be visible to the user? There is an option to have a general description like "permission denied" without details?

---

<div class="post-metadata">

**Author:** ![Mikhail\_Shustov](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mikhail_shustov/32/49186_2.png) [@Mikhail\_Shustov](https://discuss.elastic.co/u/Mikhail_Shustov)\
**Post date:** [July 16, 2020, 1:27pm UTC](https://discuss.elastic.co/t/how-to-disable-error-message-in-kibana/241138/2 "2020-07-16T13:27:29Z")

</div>

Unfortunately, no it's not currently supported out-of-the-box. You can track progress on the issue in [https://github.com/elastic/kibana/issues/33161](https://github.com/elastic/kibana/issues/33161)

---

<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 13, 2020, 1:27pm UTC](https://discuss.elastic.co/t/how-to-disable-error-message-in-kibana/241138/3 "2020-08-13T13:27:35Z")

</div>

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