Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing required property 'IndexResponse.primaryTerm' #657

Closed
lorenzomalla opened this issue Sep 4, 2023 · 1 comment
Closed

Missing required property 'IndexResponse.primaryTerm' #657

lorenzomalla opened this issue Sep 4, 2023 · 1 comment

Comments

@lorenzomalla
Copy link

Java API client version

8.5.3

Java version

17

Elasticsearch Version

8.9

Problem description

Hi,
I'm try to create a new document with ElasticsearchClient with IndexRequest and receive 'co.elastic.clients.util.MissingRequiredPropertyException: Missing required property 'IndexResponse.primaryTerm', if I call the API of ES from postman work it.
I try to set ApiTypeHelper.DANGEROUS_disableRequiredPropertiesCheck(true); but not work.

@l-trotta
Copy link
Contributor

Hello! This was recently solved in #776, thanks for reporting it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants