# APM AGENT Issue

**URL:** <https://discuss.elastic.co/t/apm-agent-issue/215271>\
**Category:** Elasticsearch\
**Created:** [January 16, 2020, 8:59am UTC](https://discuss.elastic.co/t/apm-agent-issue/215271 "2020-01-16T08:59:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Peter\_Versan\_Setier](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/peter_versan_setier/32/60874_2.png) [@Peter\_Versan\_Setier](https://discuss.elastic.co/u/Peter_Versan_Setier)\
**Post date:** [January 16, 2020, 8:59am UTC](https://discuss.elastic.co/t/apm-agent-issue/215271/1 "2020-01-16T08:59:35Z")

</div>

I have tried the version  
elastic-apm-agent-1.11 and 1.12

[apm-reporter] ERROR co.elastic.apm.agent.report.IntakeV2ReportingEventHandler - Error sending data to APM server: Server returned HTTP response code: 400 for URL: [http://131.101.24.12:9200/intake/v2/events](http://131.101.24.12:9200/intake/v2/events), response code is 400  
[1/16/20 2:15:47:546 EST] 00000014 SystemOut O 2020-01-16 02:15:47.546 [apm-reporter] WARN co.elastic.apm.agent.report.IntakeV2ReportingEventHandler - {"error":{"root\_cause":[{"type":"mapper\_parsing\_exception","reason":"failed to parse"}],"type":"mapper\_parsing\_exception","reason":"failed to parse","caused\_by":{"type":"illegal\_argument\_exception","reason":"Malformed content, found extra data after parsing: START\_OBJECT"}},"status":400}

---

<div class="post-metadata">

**Author:** ![Peter\_Versan\_Setier](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/peter_versan_setier/32/60874_2.png) [@Peter\_Versan\_Setier](https://discuss.elastic.co/u/Peter_Versan_Setier)\
**Post date:** [January 16, 2020, 10:36am UTC](https://discuss.elastic.co/t/apm-agent-issue/215271/2 "2020-01-16T10:36:51Z")

</div>

[1/16/20 5:35:49:911 EST] 00000014 SystemOut O 2020-01-16 05:35:49.911 [apm-reporter] ERROR co.elastic.apm.agent.report.IntakeV2ReportingEventHandler - Error sending data to APM server: Server returned HTTP response code: 400 for URL: [http://131.101.24.12:9200/intake/v2/events](http://131.101.24.12:9200/intake/v2/events), response code is 400  
[1/16/20 5:35:49:911 EST] 00000014 SystemOut O 2020-01-16 05:35:49.911 [apm-reporter] DEBUG co.elastic.apm.agent.report.IntakeV2ReportingEventHandler - Sending payload to APM server failed  
[1/16/20 5:35:49:912 EST] 00000014 SystemOut O java.io.IOException: Server returned HTTP response code: 400 for URL: [http://131.101.24.12:9200/intake/v2/events](http://131.101.24.12:9200/intake/v2/events)  
[1/16/20 5:35:49:912 EST] 00000014 SystemOut O at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1891)  
[1/16/20 5:35:49:912 EST] 00000014 SystemOut O at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1489)  
[1/16/20 5:35:49:912 EST] 00000014 SystemOut O at co.elastic.apm.agent.report.IntakeV2ReportingEventHandler.flush(IntakeV2ReportingEventHandler.java:224)  
[1/16/20 5:35:49:912 EST] 00000014 SystemOut O at co.elastic.apm.agent.report.IntakeV2ReportingEventHandler.handleEvent(IntakeV2ReportingEventHandler.java:128)  
[1/16/20 5:35:49:913 EST] 00000014 SystemOut O at co.elastic.apm.agent.report.IntakeV2ReportingEventHandler.onEvent(IntakeV2ReportingEventHandler.java:116)  
[1/16/20 5:35:49:913 EST] 00000014 SystemOut O at co.elastic.apm.agent.report.IntakeV2ReportingEventHandler.onEvent(IntakeV2ReportingEventHandler.java:50)  
[1/16/20 5:35:49:913 EST] 00000014 SystemOut O at co.elastic.apm.agent.shaded.lmax.disruptor.BatchEventProcessor.processEvents(BatchEventProcessor.java:168)  
[1/16/20 5:35:49:916 EST] 00000014 SystemOut O at co.elastic.apm.agent.shaded.lmax.disruptor.BatchEventProcessor.run(BatchEventProcessor.java:125)  
[1/16/20 5:35:49:917 EST] 00000014 SystemOut O at java.lang.Thread.run(Thread.java:795)  
[1/16/20 5:35:49:918 EST] 00000014 SystemOut O 2020-01-16 05:35:49.918 [apm-reporter] WARN co.elastic.apm.agent.report.IntakeV2ReportingEventHandler - {"error":{"root\_cause":[{"type":"mapper\_parsing\_exception","reason":"failed to parse"}],"type":"mapper\_parsing\_exception","reason":"failed to parse","caused\_by":{"type":"illegal\_argument\_exception","reason":"Malformed content, found extra data after parsing: START\_OBJECT"}},"status":400}  
^C

---

<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:** [February 13, 2020, 10:36am UTC](https://discuss.elastic.co/t/apm-agent-issue/215271/3 "2020-02-13T10:36:56Z")

</div>

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