# Reporting error can't output x-pack when enabled

**URL:** <https://discuss.elastic.co/t/reporting-error-cant-output-x-pack-when-enabled/83785>\
**Category:** Kibana\
**Created:** [April 27, 2017, 3:14am UTC](https://discuss.elastic.co/t/reporting-error-cant-output-x-pack-when-enabled/83785 "2017-04-27T03:14:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![zqc0512](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/zqc0512/32/32141_2.png) [@zqc0512](https://discuss.elastic.co/u/zqc0512)\
**Post date:** [April 27, 2017, 3:14am UTC](https://discuss.elastic.co/t/reporting-error-cant-output-x-pack-when-enabled/83785/1 "2017-04-27T03:14:34Z")

</div>

when i use x-pack reporting ,copy the url i can't see the reporting ,the error is "{"statusCode":405,"error":"Method Not Allowed","message":"GET is not allowed"}" how i can see the reporting and shared it.  
thanks.

 ![](https://us1.discourse-cdn.com/elastic/original/3X/8/9/899de05d5a5a1a021d1337ea47be53024d0d1685.png)  
 ![](https://us1.discourse-cdn.com/elastic/original/3X/d/a/daa69c45473554ead7b8ebee48493cd4b913e30e.jpg)

---

<div class="post-metadata">

**Author:** ![BigFunger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bigfunger/32/7323_2.png) [@BigFunger](https://discuss.elastic.co/u/BigFunger)\
**Post date:** [April 27, 2017, 4:02pm UTC](https://discuss.elastic.co/t/reporting-error-cant-output-x-pack-when-enabled/83785/2 "2017-04-27T16:02:48Z")

</div>

There is an existing [issue](https://github.com/elastic/x-pack-kibana/issues/277) related to this.

Relevent text:

> The UI should make it clear how to use the "Generation" URL by explaining it must be used in a POST request with proper authentication and a kbn-xsrf: reporting header. Alternatively, we can give a brief overview that this is to be used for automation and link to the docs, but we must do something. The current implementation does not at all add any clarity around that the purpose is, and if you copy it into your browser, you just get an error.

> Also, we should update GET requests to that route to return a 405 Method Not Allowed error with a useful error message instead of the current 404 behavior. The error message should suggest that the user use POST instead.

---

<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:** [May 25, 2017, 4:16pm UTC](https://discuss.elastic.co/t/reporting-error-cant-output-x-pack-when-enabled/83785/3 "2017-05-25T16:16:19Z")

</div>

Closed on May 25, 2017, 4:16pm UTC

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