# 400 Bad request when loading Kibana APM dashboard

**URL:** <https://discuss.elastic.co/t/400-bad-request-when-loading-kibana-apm-dashboard/199515>\
**Category:** APM\
**Tags:** ui\
**Created:** [September 15, 2019, 2:26am UTC](https://discuss.elastic.co/t/400-bad-request-when-loading-kibana-apm-dashboard/199515 "2019-09-15T02:26:54Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![stecino](https://avatars.discourse-cdn.com/v4/letter/s/ea666f/32.png) [@stecino](https://discuss.elastic.co/u/stecino)\
**Post date:** [September 15, 2019, 2:26am UTC](https://discuss.elastic.co/t/400-bad-request-when-loading-kibana-apm-dashboard/199515/1 "2019-09-15T02:26:54Z")

</div>

Using Kibana 7.3.2 with ES 7.3.2 and APM 7.3.2. Data is written from APM-Server into Kafka, and then ingested into ES

{"type":"response","@timestamp":"2019-09-15T02:17:28Z","tags":["access:apm"],"pid":3041,"method":"get","statusCode":400,"req":{"url":"/api/apm/ui\_filters/environments?start=&end=","method":"get","headers":{"host":"kibana6.**_.com:5603","user-agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:69.0) Gecko/20100101 Firefox/69.0","accept":"/_","accept-language":"en-US,en;q=0.5","accept-encoding":"gzip, deflate, br","referer":"[https://kibana6](https://kibana6).**\*\*.com:5603/app/apm","kbn-version":"7.3.2","content-type":"application/json","connection":"keep-alive"},"remoteAddress":"10.5.254.251","userAgent":"10.5.254.251","referer":"[https://kibana6](https://kibana6).\*\*\*\*\*.com:5603/app/apm"},"res":{"statusCode":400,"responseTime":69,"contentLength":9},"message":"GET /api/apm/ui\_filters/environments?start=&end= 400 69ms - 9.0B"}

---

<div class="post-metadata">

**Author:** ![sqren](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sqren/32/26110_2.png) [@sqren](https://discuss.elastic.co/u/sqren)\
**Post date:** [September 16, 2019, 2:19pm UTC](https://discuss.elastic.co/t/400-bad-request-when-loading-kibana-apm-dashboard/199515/2 "2019-09-16T14:19:29Z")

</div>

Hi there,

Thanks for reaching out!  
Do you see any errors in the terminal where you are running Kibana?

---

<div class="post-metadata">

**Author:** ![stecino](https://avatars.discourse-cdn.com/v4/letter/s/ea666f/32.png) [@stecino](https://discuss.elastic.co/u/stecino)\
**Post date:** [September 16, 2019, 4:58pm UTC](https://discuss.elastic.co/t/400-bad-request-when-loading-kibana-apm-dashboard/199515/3 "2019-09-16T16:58:32Z")

</div>

This is all I am seeing

 ![43%20AM](https://us1.discourse-cdn.com/elastic/original/3X/c/6/c60ef40dc8440f6ed2df16cfdc8798eabcc8bcaa.png)

I am writing APM-Server to kafka, then reading it with logstash and writing it to ElasticSearch. Do you I need any particular mapping template? Shouldn't it be dynamically generated by the ElasticSearch?

---

<div class="post-metadata">

**Author:** ![jalvz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jalvz/32/45613_2.png) [@jalvz](https://discuss.elastic.co/u/jalvz)\
**Post date:** [September 17, 2019, 10:14am UTC](https://discuss.elastic.co/t/400-bad-request-when-loading-kibana-apm-dashboard/199515/4 "2019-09-17T10:14:41Z")

</div>

Hello!

Yes, you need the template bundled with APM Server. See here for out to load it: [https://www.elastic.co/guide/en/apm/server/7.3/\_manually\_loading\_template\_configuration.html#load-template-manually](https://www.elastic.co/guide/en/apm/server/7.3/_manually_loading_template_configuration.html#load-template-manually)

Hope that helps,

Juan

---

<div class="post-metadata">

**Author:** ![stecino](https://avatars.discourse-cdn.com/v4/letter/s/ea666f/32.png) [@stecino](https://discuss.elastic.co/u/stecino)\
**Post date:** [September 18, 2019, 1:43am UTC](https://discuss.elastic.co/t/400-bad-request-when-loading-kibana-apm-dashboard/199515/5 "2019-09-18T01:43:37Z")

</div>

Thanks, I did apply the template and it started working

---

<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:** [October 16, 2019, 1:43am UTC](https://discuss.elastic.co/t/400-bad-request-when-loading-kibana-apm-dashboard/199515/6 "2019-10-16T01:43:38Z")

</div>

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