Errors

This section shows you how to handle various kinds of error responses the Adaptive Acceleration API generates. It also lists the range of HTTP response codes and provides details for many API-specific error messages along with their likely causes.

Problem Details object

This API responds with HTTP Problem Details error objects that provide information you can use to debug the problem. The sample shows an incorrect request error where the detail parameter explains why the error occurred.

The sample shows a typical 403 error.

{
  "type": "https://problems.luna.akamaiapis.net/adaptive-acceleration/v1/forbidden",
  "title": "Forbidden.",
  "detail": "The authorization token you provided does not allow access to this resource.",
  "instance": "12abc3de-f45g-6h7i-8901-2jk3l4567mno",
  "httpStatus": 403
}

For details on information contained in the error responses, refer to Error response syntax.