# High Level Rest Client and SyncedFlushRequest

**URL:** https://discuss.elastic.co/t/high-level-rest-client-and-syncedflushrequest/345330
**Category:** Elasticsearch
**Tags:** language-clients
**Created:** [October 18, 2023, 9:07pm UTC](https://discuss.elastic.co/t/high-level-rest-client-and-syncedflushrequest/345330 "2023-10-18T21:07:18Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Vlado](https://avatars.discourse-cdn.com/v4/letter/v/779978/32.png) [@Vlado](https://discuss.elastic.co/u/Vlado)
#### Post date: [October 18, 2023, 9:07pm UTC](https://discuss.elastic.co/t/high-level-rest-client-and-syncedflushrequest/345330/1 "2023-10-18T21:07:18Z")

</div>

Hi folks,

adding some signal here that I've run into the same issue as the below two

> [@Spring + ES 8 server, can't make it compatible](https://discuss.elastic.co/t/spring-es-8-server-cant-make-it-compatible/314557):
>
> Hi! So, I'm new to ES and been running ES locally through docker on ES 7.17.3 with RestHighLevelClient, Spring Data ES and running queries with QueryBuilders etc. Now I've been hosting Elastic Search through your/their cloud and the version is 8.4.x and with that I've been trying to read the documentations on how to run on 7.17 client towards a 8.4 server. I can't make it work and would be amazing to have some eyes with experience to look at it. Been reading this document and some around it..…

[RestHighLevelClient and SyncedFlushRequest](https://discuss.elastic.co/t/resthighlevelclient-and-syncedflushrequest/332279).

That is SyncedFlushRequest throws a

```auto
java.lang.NoClassDefFoundError: org/elasticsearch/action/admin/indices/flush/SyncedFlushRequest

```

Using

```auto
org.elasticsearch.client:elasticsearch-rest-high-level-client at 7.17.7 and
org.elasticsearch:elasticsearch at 8.10.0

```

---

<div class="post-metadata">

### Author: ![Vlado](https://avatars.discourse-cdn.com/v4/letter/v/779978/32.png) [@Vlado](https://discuss.elastic.co/u/Vlado)
#### Post date: [October 18, 2023, 9:18pm UTC](https://discuss.elastic.co/t/high-level-rest-client-and-syncedflushrequest/345330/2 "2023-10-18T21:18:19Z")

</div>

For those running into the same issue, you're not supposed to upgrade to

```auto
org.elasticsearch:elasticsearch at 8.10.0

```

The computability is meant to be between client and server, you can't just have the client have two different versions of things.

---

<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: [November 15, 2023, 9:18pm UTC](https://discuss.elastic.co/t/high-level-rest-client-and-syncedflushrequest/345330/3 "2023-11-15T21:18:19Z")

</div>

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