Error after upgrading to 7.15

I am getting errors after I upgraded my client from 7.13.4 to 7.15. I suspect this is due to incompatible versions between server and client, but I am not sure. I tried upgrading the server, running in AWS but could not find a update. All help is appreciated!

Here is part of my stacktrace:
org.elasticsearch.ElasticsearchException: Invalid or missing build flavor [oss]\n\tat org.elasticsearch.client.RestHighLevelClient.performClientRequest(\n\tat org.elasticsearch.client.RestHighLevelClient.internalPerformRequest(\n\tat org.elasticsearch.client.RestHighLevelClient.performRequest(\n\tat org.elasticsearch.client.RestHighLevelClient.performRequestAndParseEntity(\n\tat\n\tat

Do you mean you're using AWS OpenSearch? If so, that service is a fork of Elasticsearch that isn't 100% compatible, you'll need to use an OpenSearch-specific client. Alternatively if you want a managed Elasticsearch service you can use


You should use the same client version as the server.

I believe that your server is running an older version, may be 7.10.2 ?

Otherwise upgrade the server to 7.15.0, which is a much better approach. If you are running on EC2, you will need to use the default distribution from 7.11.

Thanks @dadoonet!
I am using 7.10, but the problem is that is seems that I am not able to upgrade to 7.15.0 in AWS OpenSearch portal, even though I am using Elasticsearch... But as far as I understand, the issue I am having is caused by incompatible server and client?

The server is hosted in AWS OpenSearch, but I am using Elasticsearch... If that made sense? In AWS OpenSearch you can choose between OpenSearch and Elasticsearch. The problem is that the newest version available in the AWS OpenSearch portal is 7.10.... Which as far as I understand, is an old and uncompatible version with the 7.15 client?

It doesn't, unfortunately. Even back in 7.10 the AWS service was running a fork, although it was confusingly still called Elasticsearch. Thankfully it is being renamed so eventually the confusion will go away.

You could carry on using the 7.10 Elasticsearch client I think, it'll mostly work with both versions, but it won't work if the client has a newer version than the server.


Okay, so in conclusion: We can either switch to a managed Elasticsearch or keep using the version we do right now.

Thanks a lot for the help, I really appreciate it!

1 Like

Have a look at Cloud by Elastic, also available if needed from AWS Marketplace, Azure Marketplace and Google Cloud Marketplace.

Cloud by elastic is one way to have access to all features, all managed by us. Think about what is there yet like Security, Monitoring, Reporting, SQL, Canvas, Maps UI, Alerting and built-in solutions named Observability, Security, Enterprise Search and what is coming next :slight_smile: ...

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