Skip to content

Missing required property 'IndexResponse.primaryTerm' #657

Closed
@lorenzomalla

Description

@lorenzomalla

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions