[Solved] The client noticed that the server is not a supported distribution of Elasticsearch - Node and Elasticsearch client

Article Ab Siddik

I am using Node 14 and ElasticSearch 7.5.0 in my project. Recently I upgrade my node packages by run yarn upgrade command and got an error -

The client noticed that the server is not a supported distribution of Elasticsearch

I was totally surprised when i saw this error and did not understand what is happened. And after then I try to figure out the solution about this. But seriously, I could not find out any appropriate solution or any explanation. Now I will trying to explain about this issue. You should keep client versions in sync with the backend versions, otherwise you run the risk of hitting incompatibilities.

Solutions:

In my case, this issue is resolved by upgrading to @elastic/elasticsearch 7.13.0

npm i @elastic/elasticsearch@7.13.0

Thank you for reading the article. If you face any problem, comment below.