Image Manager API Debugging

This section shows you how to handle various kinds of errors the Image Manager API generates, and lists the range of HTTP status codes along with their likely causes.

The format of error response objects follows the JSON Problem Details standard, and use the application/api-problem+json content type.

The following example shows an error response for a request processed by Image Manager:

{
    "type": "",
    "title": "Validation Exception",
    "detail": "The value 'abcdefghijklmnopqrstuvwxyz0123456789' of property 'name' is too long. Max length is 30 characters.",
    "instance": "PUT - https://imaging.api.akamai.com/imaging/v2/policies/abcdefghijklmnopqrstuvwxyz0123456789",
    "httpStatus": 400
}

HTTP Status Codes

The API responds with the following set of HTTP status codes for both success and failure scenarios.

Code Description
200 The operation was successful.
201 Created.
400 Bad Request.
404 Not Found.

Last modified: 12/12/2017