Can you please suggest to me how I can capture a 413 error in Apigee? I added the below conditions in proxy <faultRule>. Tried all 3 conditions, none of them worked.
error.errorcode = "protocol.http.TooBigBody"
error.state.code = 413
error.class="com.apigee.errors.http.user.requestTooLarge"
<FaultRule name="Too Large Request">
<Condition>(error.errorcode = "protocol.http.TooBigBody")</Condition>
<Step>
<Name>RF-TooLargeRequest</Name>
</Step>
</FaultRule>
Tried the same condition in <DefaultFaultRules>, it still didn't work. Appreciate your suggestion.