# \[half\_float\] parsing error

**URL:** <https://discuss.elastic.co/t/half-float-parsing-error/328057>\
**Category:** Elasticsearch\
**Created:** [March 20, 2023, 9:34am UTC](https://discuss.elastic.co/t/half-float-parsing-error/328057 "2023-03-20T09:34:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Raul\_Uria](https://avatars.discourse-cdn.com/v4/letter/r/76d3ee/32.png) [@Raul\_Uria](https://discuss.elastic.co/u/Raul_Uria)\
**Post date:** [March 20, 2023, 9:34am UTC](https://discuss.elastic.co/t/half-float-parsing-error/328057/1 "2023-03-20T09:34:41Z")

</div>

Hi, I can´t understand why my data is not parsed. I got this on my logs:

```auto
status"=>400, "error"=>{"type"=>"mapper_parsing_exception", "reason"=>"failed
to parse field [MyFIELD-NAME] of type [half_float] in document with id '2-17546231'. Preview of field's value: '73925.0'", "caused_by"=>{"type"=>"illegal_argument_exception", "reason"=>"[half_float] supports only finite values, but got [73925.0]"}

```

---

<div class="post-metadata">

**Author:** ![Raul\_Uria](https://avatars.discourse-cdn.com/v4/letter/r/76d3ee/32.png) [@Raul\_Uria](https://discuss.elastic.co/u/Raul_Uria)\
**Post date:** [March 20, 2023, 1:51pm UTC](https://discuss.elastic.co/t/half-float-parsing-error/328057/2 "2023-03-20T13:51:00Z")

</div>

half\_float supports 65535 as max number, another type is needed to hold this value.

---

<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:** [April 17, 2023, 1:51pm UTC](https://discuss.elastic.co/t/half-float-parsing-error/328057/3 "2023-04-17T13:51:11Z")

</div>

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