Announcements
This site is in read only until July 22 as we migrate to a new platform; refer to this community post for more details.
Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Error codes

As per the Apigee doc the default error code format is

{"code":" {ErrorCode} ","message":" {Error message} ","contexts":[]}

But when i execute my proxy with error ,The format is :

{
  "ErrorCode": "{ErrorCode}",
  "Error": "{Error message}"
}

and sometimes

{
  "fault": {
    "faultstring": "",
    "detail": {
      "errorcode": "xxx"} }}

would like to know when these error formats will occur and also when the default format will get executed?

Note : I dint add any FaultRules.

Correct me if i am wrong .Thanks!

0 7 1,071
7 REPLIES 7