Nest CleanupRepositoryAsync return body error

I am using nest with c# and when I use the query:


var response = await IndexClient.Snapshot.CleanupRepositoryAsync(respositoryName);


it return ```
illegal_argument_exception Reason: "request [POST /_snapshot/XXXX/_cleanup] does not support having a body".
In the response in debug mode the request seem to have an empty body "# Request:{}". to me this is a bug. is there a way around ?


This is indeed a bug in the client in the client. I've raised an issue to track it and have a fix that will be deployed into the next release.


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