# ECK Operator Error - Cannot parse Elasticsearch error response body

**URL:** <https://discuss.elastic.co/t/eck-operator-error-cannot-parse-elasticsearch-error-response-body/312675>\
**Category:** Elastic Cloud on Kubernetes (ECK)\
**Created:** [August 23, 2022, 6:36am UTC](https://discuss.elastic.co/t/eck-operator-error-cannot-parse-elasticsearch-error-response-body/312675 "2022-08-23T06:36:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![x00m](https://avatars.discourse-cdn.com/v4/letter/x/90db22/32.png) [@x00m](https://discuss.elastic.co/u/x00m)\
**Post date:** [August 23, 2022, 6:36am UTC](https://discuss.elastic.co/t/eck-operator-error-cannot-parse-elasticsearch-error-response-body/312675/1 "2022-08-23T06:36:38Z")

</div>

I get this error with ECK 2.3.0 with elasticsearch 7.16.2

```auto
08-16-2022 12:05:48
Cannot parse Elasticsearch error response body
elasticsearch-client
{"message":"Cannot parse Elasticsearch error response body","namespace":null}
invalid character 'o' in literal null (expecting 'u')

```

It's pretty consistent - any idea what this is due to and how this can be fixed/prevented?

---

<div class="post-metadata">

**Author:** ![pebrc](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pebrc/32/101790_2.png) [@pebrc](https://discuss.elastic.co/u/pebrc)\
**Post date:** [August 24, 2022, 12:36pm UTC](https://discuss.elastic.co/t/eck-operator-error-cannot-parse-elasticsearch-error-response-body/312675/2 "2022-08-24T12:36:24Z")

</div>

I think you are hitting this issue [Unhelpful error log on unmarshallable ES error response · Issue #5473 · elastic/cloud-on-k8s · GitHub](https://github.com/elastic/cloud-on-k8s/issues/5473)

This can usually safely be ignored it was meant as an internal debugging tool but creates this unhelpful error message if the response is not the regular Elasticsearch error. We will fix it in a future release of the operator.

---

<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:** [September 21, 2022, 12:37pm UTC](https://discuss.elastic.co/t/eck-operator-error-cannot-parse-elasticsearch-error-response-body/312675/3 "2022-09-21T12:37:12Z")

</div>

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