Apigee fault handling for CLASSIFICATION_FAILURE -
in apigee, can fault handling - specifying faultrule , raisefault policy used handle , provide custom message for:
{ "fault": { "faultstring": "not found", "detail": { "errorcode": "classification_failure" } } }
if can done, should 'condition' fault rule 'fault.name = "classification_failure"'? tried , not working.
classification_failure system level failure find api proxy given url/uri. request not reach api proxy(hence policies) - precise complaint system. not want handle error that.
another way approach case have catch api proxy basepath /**
invoked when there no specific url match. can generate custom message in proxy - can message wanted send across in case of classification failure.
Comments
Post a Comment