# Failed to parse date field with format

**URL:** https://discuss.elastic.co/t/failed-to-parse-date-field-with-format/185096
**Category:** Elasticsearch
**Tags:** elastic-stack-alerting
**Created:** [June 11, 2019, 5:53am UTC](https://discuss.elastic.co/t/failed-to-parse-date-field-with-format/185096 "2019-06-11T05:53:29Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![6tUBp3gwd9Zp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/6tubp3gwd9zp/32/45240_2.png) [@6tUBp3gwd9Zp](https://discuss.elastic.co/u/6tUBp3gwd9Zp)
#### Post date: [June 11, 2019, 5:53am UTC](https://discuss.elastic.co/t/failed-to-parse-date-field-with-format/185096/1 "2019-06-11T05:53:29Z")

</div>

Since updating from 6.7.2 to 6.8.0 all queries of my watchers give this error:

`"failed to parse date field [] with format [strict_date_optional_time||epoch_millis]"`

The query looks like this:

```
"range": {
"trigger_event.triggered_time": {
"gte": "{{ctx.trigger.scheduled_time}}||-3650d", 
"lte": "{{ctx.trigger.scheduled_time}}",
"format": "strict_date_optional_time||epoch_millis"
}}

```

How can I solve this issue?

---

<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: [July 9, 2019, 5:53am UTC](https://discuss.elastic.co/t/failed-to-parse-date-field-with-format/185096/2 "2019-07-09T05:53:38Z")

</div>

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