Nest CleanupRepositoryAsync return body error

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

Blockquote

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

Blockquote

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 ?

Hi @michel.st-louis,

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.

Steve

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