# Error while sending data to amazon\_es

**URL:** <https://discuss.elastic.co/t/error-while-sending-data-to-amazon-es/176074>\
**Category:** Logstash\
**Created:** [April 9, 2019, 5:29pm UTC](https://discuss.elastic.co/t/error-while-sending-data-to-amazon-es/176074 "2019-04-09T17:29:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shubham\_Yadav1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shubham_yadav1/32/41659_2.png) [@Shubham\_Yadav1](https://discuss.elastic.co/u/Shubham_Yadav1)\
**Post date:** [April 9, 2019, 5:29pm UTC](https://discuss.elastic.co/t/error-while-sending-data-to-amazon-es/176074/1 "2019-04-09T17:29:14Z")

</div>

i have a config file which is working fine on my localhost but while sending same data to amazon\_es i encounter this error  
Failed to install template: [400] {"error":{"root\_cause":[{"type":"mapper\_parsing\_exception","reason":"Failed to parse mapping [_default_]: No field type matched on [float], possible values are [object, string, long, double, boolean, date, binary]"}],"type":"mapper\_parsing\_exception","reason":"Failed to parse mapping [_default_]: No field type matched on [float], possible values are [object, string, long, double, boolean, date, binary]","caused\_by":{"type":"illegal\_argument\_exception","reason":"No field type matched on [float], possible values are [object, string, long, double, boolean, date, binary]"}},"status":400}

does anyone have any idea about this. please help me with this.

---

<div class="post-metadata">

**Author:** ![ep4sh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ep4sh/32/40099_2.png) [@ep4sh](https://discuss.elastic.co/u/ep4sh)\
**Post date:** [April 9, 2019, 7:08pm UTC](https://discuss.elastic.co/t/error-while-sending-data-to-amazon-es/176074/2 "2019-04-09T19:08:13Z")

</div>

It seems to me, that you try to index "new type" of a field into existing type.

You can check it with:  
`GET /_template/<your_index>`

Also, you can delete/update your template, more details here:  
[https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-templates.html](https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-templates.html)

Please, note, i am very newbie with ELK and I may wrong 🙂

---

<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 7, 2019, 7:15pm UTC](https://discuss.elastic.co/t/error-while-sending-data-to-amazon-es/176074/3 "2019-05-07T19:15:54Z")

</div>

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