0

I am facing below issue after upgrade from Magento 2.3.5 to Magento 2.4.2-p1 version.

Exception #0 (Elasticsearch\Common\Exceptions\BadRequest400Exception): {"error":{"root_cause":[{"type":"x_content_parse_exception","reason":"[1:234] [histogram] failed to parse field [interval]"}],"type":"x_content_parse_exception","reason":"[1:234] [histogram] failed to parse field [interval]","caused_by":{"type":"illegal_argument_exception","reason":"[interval] must be >0 for histogram aggregation [prices]"}},"status":400}

How can we resolve this issue?

Thanks

5
  • What is the elastic search version you are using? May 20, 2021 at 12:49
  • @SukumarGorai, I am using Elastic Search 7.6 May 20, 2021 at 13:11
  • @SanjayJethva did you find any solutions related to this? Jul 1, 2021 at 9:59
  • @MagentoLearner I face such issue because client has entered a price in Layered navigation Price Step and due to that such error coming to category. a.cl.ly/GGuWJmoA Jul 1, 2021 at 11:15
  • Thank you Bhai @SanjayJethva. So solution will be? Sorry still learning this platform Jul 1, 2021 at 11:18

2 Answers 2

0

As you did not specify it, Elasticsearch will expect date value in ISO format: yyyyMMdd'T'HHmmss.SSS'Z' (e.g., 2017-02-03T19:27:20.606Z)

This answer helped me to solve the problem https://stackoverflow.com/questions/42043856/failed-to-parse-timestamp-elasticsearch

0

in store->configuration->catalog->catalog->layered Navigation->"Default Price Navigation Step" you need to give any value > 0 for this field and then reindex all indexes

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.