# Unknown error on graphs when generating a report

**URL:** <https://discuss.elastic.co/t/unknown-error-on-graphs-when-generating-a-report/60116>\
**Category:** Kibana\
**Tags:** elastic-stack-reporting\
**Created:** [September 8, 2016, 9:10pm UTC](https://discuss.elastic.co/t/unknown-error-on-graphs-when-generating-a-report/60116 "2016-09-08T21:10:03Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![joshuaclark](https://avatars.discourse-cdn.com/v4/letter/j/5daacb/32.png) [@joshuaclark](https://discuss.elastic.co/u/joshuaclark)\
**Post date:** [September 8, 2016, 9:10pm UTC](https://discuss.elastic.co/t/unknown-error-on-graphs-when-generating-a-report/60116/1 "2016-09-08T21:10:03Z")

</div>

I get the following when trying to generate reportes. We just upgraded to Kibana 4.6.1 and ELK 2.4.0 I s there some permissions that need to be added or something?

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

---

<div class="post-metadata">

**Author:** ![tbragin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tbragin/32/45166_2.png) [@tbragin](https://discuss.elastic.co/u/tbragin)\
**Post date:** [September 8, 2016, 9:21pm UTC](https://discuss.elastic.co/t/unknown-error-on-graphs-when-generating-a-report/60116/2 "2016-09-08T21:21:58Z")

</div>

I've seen this error when Shield is enable in Elasticsearch, but the Shield UI plugin is not installed in Kibana? Is that the case in your deployment? If Shield is enabled, you will need the Shield UI plugin in the UI for reporting to work.

---

<div class="post-metadata">

**Author:** ![joshuaclark](https://avatars.discourse-cdn.com/v4/letter/j/5daacb/32.png) [@joshuaclark](https://discuss.elastic.co/u/joshuaclark)\
**Post date:** [September 12, 2016, 7:18pm UTC](https://discuss.elastic.co/t/unknown-error-on-graphs-when-generating-a-report/60116/3 "2016-09-12T19:18:25Z")

</div>

We have shield installed on the kibana servers as well as the ELK servers. The reporting role is setup.

---

<div class="post-metadata">

**Author:** ![Joe\_Fleming](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/joe_fleming/32/3561_2.png) [@Joe\_Fleming](https://discuss.elastic.co/u/Joe_Fleming)\
**Post date:** [September 12, 2016, 7:37pm UTC](https://discuss.elastic.co/t/unknown-error-on-graphs-when-generating-a-report/60116/4 "2016-09-12T19:37:55Z")

</div>

Every time I've seen this error it's been related to authentication somehow. Usually it's due to the Shield UI not being installed, or being disabled. If you are logging in to Kibana using the Shield login, that's not the problem.

This can also occur if you've changed your `reporting.encryptionKey` setting in between restarts of Kibana. I'm not sure what else would be causing this though. Are you using a proxy anywhere by chance?

---

<div class="post-metadata">

**Author:** ![joshuaclark](https://avatars.discourse-cdn.com/v4/letter/j/5daacb/32.png) [@joshuaclark](https://discuss.elastic.co/u/joshuaclark)\
**Post date:** [September 12, 2016, 7:46pm UTC](https://discuss.elastic.co/t/unknown-error-on-graphs-when-generating-a-report/60116/5 "2016-09-12T19:46:58Z")

</div>

Nope we don't use a proxy. We do login using the shield login. The encryption key hasn't been changed since upgrading and I tried restarting just to make sure. There's no errors in the logs. Not sure what it could be.

---

<div class="post-metadata">

**Author:** ![Joe\_Fleming](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/joe_fleming/32/3561_2.png) [@Joe\_Fleming](https://discuss.elastic.co/u/Joe_Fleming)\
**Post date:** [September 12, 2016, 8:41pm UTC](https://discuss.elastic.co/t/unknown-error-on-graphs-when-generating-a-report/60116/6 "2016-09-12T20:41:55Z")

</div>

Where is the report coming from? Are you just clicking on the generation button in the UI, or is this being scripted via Watcher or curl or something?

---

<div class="post-metadata">

**Author:** ![joshuaclark](https://avatars.discourse-cdn.com/v4/letter/j/5daacb/32.png) [@joshuaclark](https://discuss.elastic.co/u/joshuaclark)\
**Post date:** [September 12, 2016, 8:58pm UTC](https://discuss.elastic.co/t/unknown-error-on-graphs-when-generating-a-report/60116/7 "2016-09-12T20:58:17Z")

</div>

just clicking on the generation button in the UI.

---

<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:43pm UTC](https://discuss.elastic.co/t/unknown-error-on-graphs-when-generating-a-report/60116/8 "2017-07-06T13:43:14Z")

</div>


