Adaptive Acceleration API Debugging

This section provides details on the data object that reflects the API’s common response to error cases, and lists the API’s range of response status codes for both error and success cases.

Error Responses

The following shows a typical error response. The outer object characterizes the overall problem, while the details array lists potentially more than one problem detected in the request.

{
    "code": "bad.request",
    "details": [
        {
            "code": "bad.request.error",
            "message": "CaseId provided is incorrect"
        }
    ],
    "incidentId": "0c296a9e-b063-44d1-a6c0-35228becc4ab",
    "title": "Bad Request"
}

Error Members

Member Type Description
Required
code String Identifies a type of error that characterizes the overall problem.
details Error.details Provides details on potentially more than one error detected in the request.
incidentId String Provides a unique identifier for the problem, useful when communicating with Akamai support.
title String A descriptive label for the overall problem.

Error.details.[n]  

Member Type Description
Required
code String Identifies a type of error that characterizes each specific problem.
message String Describes each specific problem.

HTTP Status Codes

The following lists the range of HTTP response codes the API may produce for both success and error cases:

Code Description
200 Request OK
201 Resource created
401 Unauthorized request
402 Failed request
403 Forbidden
404 Resource not found
405 Method not allowed
409 Conflict
415 Unsupported media type
429 Too many requests
500 Internal Server Error
503 Service Unavailable

Last modified: 2/16/2017