I am trying to access the payloads more than 10MB. I have enable request and response streaming in both Proxy default xml and Target xml file like below:
<Property name="request.streaming.enabled">true</Property>
<Property name="response.streaming.enabled">true</Property>
My API flow is not accessing any request payloads (No transformation is here, no reference to payload), but Still its giving body Buffer over flow error.
{
"fault": {
"faultstring": "Body buffer overflow",
"detail": {
"errorcode": "protocol.http.TooBigBody"
}
}
}
Screenshot from the trace:
I have also tried to remove all the policies from the flow, even I removed Flow Hooks as well, just to see if it can take more than 10MB payload, but still its not working and giving same overflow error.
Am I missing something in streaming because it should accept larger payload with streaming.
@dchiesa1 : Please suggest how we can accept larger payload in streaming mode.
@dchiesa1 : Could you please provide your suggestion on this scenario, how streaming will work for more than 10MB payload?
I am able to resolve now.