If an error occurs, this API responds with JSON objects that provide information you can use to debug the problem.

An additional fieldErrors object features an entry array listing specific problems. Each entry lists at least one value criteria that may have triggered the failure.

This is a sample error response:

{
    "detail": "Validation failed",
    "instance": "https://problems.luna.akamaiapis.net/network-lists-activation/error-instances/0835dedb-9d01-4178-985b-c93c7f5fcfa8",
    "status": 400,
    "title": "Invalid Input Error",
    "type": "https://problems.luna.akamaiapis.net/network-lists-activation/error-types/INVALID-INPUT-ERROR",
    "fieldErrors": {
        "entry": [
            {
                "key": "createWithPost.arg0",
                "value": [ "Invalid network list type: null" ]
            },
            {
                "key": "name",
                "value": [ "may not be empty" ]
            },
            {
                "key": "type",
                "value": [
                    "Values cannot be null or empty.",
                    "may not be null"
                ]
            }
        ]
    }
}

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