TooBigBody error even after enabling streaming and disabling all policies

Not applicable

Hi,

I'm working with very large request payloads, so I need to enable streaming for the proxy.

Following the suggestions from the community in Body buffer overflow Error and the streaming Docs.

I also removed all the policies from our proxy, however, we are still getting the TooBigBody error.

{"fault":{"faultstring":"Body buffer overflow","detail":{"errorcode":"protocol.http.TooBigBody"}}}

Please let me know if you need any further details.

0 3 2,250
3 REPLIES 3

@Prashant Kukde If you have any policies in the request/response flow that is manipulating the request/response or even extracting anything from the request/response body, then the behaviour will change to buffering from streaming in which case you will see the error message

{"fault":{"faultstring":"Body buffer overflow","detail":{"errorcode":"protocol.http.TooBigBody"}}}

So, even though you have enabled streaming, the above action will change the mode to buffering.

@Divya Achan as I mentioned in the post, there are no policies in the proxy. We just created a new bare bones proxy which should just forward the request to our target endpoint. That is failing as well. You can have a look at the proxy in my account: DeepAffects-Test-API


@Prashant Kukde Could you let me know the org name that you have this api on?