APM AGENT Issue

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, 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}

[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, 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
[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