Error from _cat APIs: Values less than -1 bytes are not supported

Elasticsearch cluster running 7.1.1. I was adding/removing some nodes to the cluster, but no other config changes took place. The _cat/nodes and _cat/indices API started returning an error as below

$ curl localhost:9200/_cat/nodes
{"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"Values less than -1 bytes are not supported: -9223372036854752403b"}],"type":"illegal_argument_exception","reason":"Values less than -1 bytes are not supported: -9223372036854752403b"},"status":400}

I used curl localhost:9200/nodes/_local/stats?error_trace=true and this error:

$ curl http://localhost:9200/nodes/_local/stats?error_trace=true
{"error":{"root_cause":[{"type":"index_not_found_exception","reason":"no such index [nodes]","resource.type":"index_expression","":"nodes","index_uuid":"_na_","index":"nodes","stack_trace":"[nodes] IndexNotFoundException[no such index [nodes]]

Any help is appreciated on this

Thank you!

1 Like


there has been a fix for something like this in later versions, see

Do you have the possibility to upgrade your cluster?


Hi Alex

Thanks for replying. Which version will this be resolved?
I deployed my cluster using tar files

the best would be to update to the latest 7.x version, 7.6.0 as of today.

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