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 -",
    "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: 7/2/2018