Errors

If an error occurs, the Cloudlets API responds with HTTP problem JSON error objects you can use to debug the problem.

This example shows a bad request error, where the title is a descriptive label for the overall problem, and the instance may be useful if you need to communicate the problem to your Akamai support representative. It also includes an optional errors array that lists potentially more than one problem detected in the request.

This 400 status error shows that the number of rules allowed per policy has been exceeded. To resolve this issue, divide your rules up between different policies to avoid the rule maximum.

{
     "instance": "2d8290b4-30df-4025-88a8-3f596a52aef7",
     "status": 400,
     "title": "Too Many Rules",
     "type": "/cloudlets/v2/error-types/policy-rule-count-exceeded",
     "errors": [
    {
     "title": "Too Many Rules",
     "detail": "Exceeds maximum rules (5000). Received rule count:5001",
     "maxRules": 5000,
     "ruleCount": 5001
}
       ]
}