Open shasti421 opened 7 months ago
Similar error happening with
CreateSnapshotRequest.Builder builder = new CreateSnapshotRequest.Builder();
builder.repository(repoName);
builder.snapshot(snapshotName);
return openSearchClient.snapshot().create(builder.build());
org.opensearch.client.util.MissingRequiredPropertyException: Missing required property 'CreateSnapshotResponse.snapshot'
at org.opensearch.client.util.ApiTypeHelper.requireNonNull(ApiTypeHelper.java:89)
at org.opensearch.client.opensearch.snapshot.CreateSnapshotResponse.<init>(CreateSnapshotResponse.java:62)
@shasti421 Is this specific to AWS, or does this happen with vanilla OpenSearch? Also can you reproduce this with curl
or is it a client problem?
Attached code is throwing error with AWS OpenSearch, but index is getting restored as expected.
Do you have any screenshots?
See attached stack trace above
Do you have any additional context?
Using client version 2.9.1