getting HTTP 413 Request Entity Too Large in Apigee OPDK

Not applicable

I am getting HTTP 413 Request Entity Too Large in Apigee OPDK to a large size request . Please confirm what is the maximum request size Apigee server can expect without getting this error and how to resolve it.

Solved Solved
0 3 2,207
1 ACCEPTED SOLUTION

3 REPLIES 3

@Vikas Lall What's the payload size you trying with? In any case, try setting the request.streaming.enabled property on TargetEndpoint. This will bypass buffering in the message processor. Check this doc link for the actual configuration.

What version of the OPDK are you using, please?

The Best Practices topic covers this:

http://apigee.com/docs/api-services/content/best-practices-api-proxy-design-and-development#size

Message size limit is 10MB in cloud and 3MB in Private Cloud.

Also check out this community post: https://community.apigee.com/articles/1475/error-while-requestingreturning-large-payload-with.html