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

Popular posts from this blog

c++ - OpenCV Error: Assertion failed <scn == 3 ::scn == 4> in unknown function, -

php - render data via PDO::FETCH_FUNC vs loop -

The canvas has been tainted by cross-origin data in chrome only -