Elastisearch - Invalid NEST response built from a unsuccessful low level call on POST

Dear Team,

While fetching the data from Elastisearch. we are getting the below issue. could you please help us.

Invalid NEST response built from a unsuccessful low level call on POST: /esproxy/_mtermvectors?term_statistics=false&positions=false&field_statistics=false&offsets=false&payloads=false&realtime=false&filter_path=docs._index%2Cdocs._id%2Cdocs._type%2Cdocs.term_vectors&fields=text%2Ctitle

Request:

Request stream not captured or already read to completion by serializer. Set DisableDirectStreaming() on ConnectionSettings to force it to be set on the response.

Response:

Response stream not captured or already read to completion by serializer. Set DisableDirectStreaming() on ConnectionSettings to force it to be set on the response.

As the message says "Set DisableDirectStreaming() on ConnectionSettings to force it to be set on the response." Once you do this, you can get the complete error messages from Elasticsearch, as well as the complete JSON that was sent in the request.
This is a general troubleshooting technique when using NEST, which you will find very helpful in figuring out what went wrong.

1 Like

Thanks Babadofar.

Now it is showing this message.

Invalid NEST response built from a unsuccessful low level call on POST: /esproxy/_search/scroll

Request:

{"scroll":"5m","scroll_id":"DnF1ZXJ5VGhlbkZldGNoDwAAAAAAAKc2FkV4X2dFWGduUmRxMW5ZdnpNbEp5SXcAAAAAAAglRxY5

SDB0SHFzTVJPQzQ1dlUtRWhRM0t3AAAAAAASx3UWMG03ZXNXWXJRNEdpZlBHa29BUHo3UQAAAAAAEsd0FjBtN2VzV1lyUTRHaWZQR2tv

QVB6N1EAAAAAAACnNxZFeF9nRVhnblJkcTFuWXZ6TWxKeUl3AAAAAAASx3YWMG03ZXNXWXJRNEdpZlBHa29BUHo3UQAAAAAAEsd3FjBt

N2VzV1lyUTRHaWZQR2tvQVB6N1EAAAAAAARqzRZtaWhkbGtlN1Q0R3A4cTV3NDZMbFl3AAAAAAASx3kWMG03ZXNXWXJRNEdpZlBHa29B

UHo3UQAAAAAAEsd4FjBtN2VzV1lyUTRHaWZQR2tvQVB6N1EAAAAAABLHehYwbTdlc1dZclE0R2lmUEdrb0FQejdRAAAAAAAIJUgWOUgw

dEhxc01ST0M0NXZVLUVoUTNLdwAAAAAABGrOFm1paGRsa2U3VDRHcDhxNXc0NkxsWXcAAAAAAARqzxZtaWhkbGtlN1Q0R3A4cTV3NDZM

bFl3AAAAAAAApzgWRXhfZ0VYZ25SZHExbll2ek1sSnlJdw=="}

That looks like something entirely different. What are you trying to do? You might be more lucky receiving help if you describe your problem.

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