In our regular indexing scenario when using Bulk index API we are constantly hitting into "HTTP Status Code - 413, Exception - System.Net.WebException: The remote server returned an error: (413) Request Entity Too Large."
We do control the batch size before sending the request that is definitely lesser than 100mb. I see across posts it is recommended to increase the http.max_content_length to a greater value to address this.
Note: we are using ES5.x and NEST 2.x
In addition to the batch request that is originally being sent is there any additional payload that gets added by NEST? Or could someone suggest the best way to debug this issue and identify the root cause?
Thanks in advance!