Errors

The Mashery v3 API utilizes typical HTTP status codes to convey success and failures.  2xx response codes indicates success.

For failures, the following is what is supported by the v3 API.

 

Error Responses and Validation

Error responses in the 4xx - 5xx range include a common JSON structure describing the error. The basic format looks like this:

 

{
    "errorCode": <application error code>,
    "errorMessage": "<application error message>"
}

Example:

Docs Navigation