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

How to unify different error/fault format?

Not applicable

We're trying to unify our error responses into one format. This only makes sense if we can align all error responses, especially those generated by Edge and not catchable by individual proxies.

What steps do we have to take to customize all possible errors?


For example, on our on-premise Edge Cloud, if I request a non-existing path I get

{
  "fault": {
    "faultstring": "Classification failed for host: apiproxy-dev-online:9001 url: /foo",
    "detail": {
      "code": "CLASSIFICATION_FAILED"
    }
  }
}

This can be solved by https://community.apigee.com/questions/8072/modify-default-404-response-in-cloud-instance.html - but there surely are more cases to cover.

3 13 1,350
13 REPLIES 13