Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Body buffer overflow error in Service Call out policy

I have enabled Streaming in Service-Callout policy but still i am facing the Issue

{

"fault":{ "faultstring":"Execution of ServiceCallout SC-Call-To-OnDemand-Report failed. Reason: Body buffer overflow",

"detail":{"errorcode":"steps.servicecallout.ExecutionFailed"}

}

}

Servcie Callout Policy:

<ServiceCallout async="false" continueOnError="false" enabled="true" name="GetDetails"> <DisplayName>GetDetails</DisplayName>

<Request variable="request" clearPayload="true"> <IgnoreUnresolvedVariables>false</IgnoreUnresolvedVariables>

<Set> <Verb>POST</Verb>

<Path>xxxxxx/getDetails</Path>

<Payload contentType="application/json">{payload}</Payload>

</Set> </Request>

<Response>response</Response>

<Timeout>800000</Timeout>

<HTTPTargetConnection>

<Properties>

<Property name="allow.http10">true</Property>

<Property name="response.streaming.enabled">true</Property>

</Properties> <LoadBalancer>

<Server name="xcxcxcxcxcxc"/>

</LoadBalancer>

</HTTPTargetConnection>

</ServiceCallout>

1.If any thing wrong in service callout policy,please correct it.

2.Maximum response payload varies from 50MB to 180MB , so what was the maximum payload allows by apigee oncloud premises.

3.So how to enable streaming in service callout policy.

1 6 914
6 REPLIES 6