# Parse\_exception errror

**URL:** <https://discuss.elastic.co/t/parse-exception-errror/226659>\
**Category:** Elasticsearch\
**Created:** [April 6, 2020, 9:20am UTC](https://discuss.elastic.co/t/parse-exception-errror/226659 "2020-04-06T09:20:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![thywoe](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/thywoe/32/65941_2.png) [@thywoe](https://discuss.elastic.co/u/thywoe)\
**Post date:** [April 6, 2020, 9:20am UTC](https://discuss.elastic.co/t/parse-exception-errror/226659/1 "2020-04-06T09:20:55Z")

</div>

```auto
Error: Request to Elasticsearch failed: {"error":{"root_cause":[{"type":"parse_exception","reason":"failed to parse date field [-1588464815700] with format [epoch_millis]: [failed to parse date field [-1588464815700] with format [epoch_millis]]"}],"type":"search_phase_execution_exception","reason":"all shards failed","phase":"query","grouped":true,"failed_shards":[{"shard":0,"index":"logstash-2020.04.01-000001","node":"dbIIw9jrQ42X_1uIRLw2zQ","reason":{"type":"parse_exception","reason":"failed to parse date field [-1588464815700] with format [epoch_millis]: [failed to parse date field [-1588464815700] with format [epoch_millis]]","caused_by":{"type":"illegal_argument_exception","reason":"failed to parse date field [-1588464815700] with format [epoch_millis]","caused_by":{"type":"date_time_parse_exception","reason":"Failed to parse with all enclosed parsers"}}}}]},"status":400}. I need help.

```

---

<div class="post-metadata">

**Author:** ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Post date:** [April 6, 2020, 1:52pm UTC](https://discuss.elastic.co/t/parse-exception-errror/226659/2 "2020-04-06T13:52:21Z")

</div>

Quick guess without seeing a full reproduction: You are trying to parse a field value of `-1588464815700` - when parsing epoch millis, you need a positive value or change it to a more readable date format.

---

<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 4, 2020, 1:52pm UTC](https://discuss.elastic.co/t/parse-exception-errror/226659/3 "2020-05-04T13:52:32Z")

</div>

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