Errors errors

If a request cannot be completed successfully, the server either returns an error image or an HTTP response status other than 200 together with an error message.

The response status value depends on the type of the error; for most common errors it is ‘403’. Error responses for non-image request types conform to the format specified with req=. (May not be consistently implemented at this time.)

The amount of detail included in the error message is configurable with attribute::ErrorDetail.

Error images section-92e9b20b2507433daa96923abc95f777

Image Serving can be configured to return error messages rendered into an image.

See attribute::ErrorImage in the image catalog reference for details.

If the error image is successfully generated, the HTTP response status is 200. If an error occurs when processing the error image, the standard HTTP error response and text message is returned to the client.

Default image section-66bf25fe6b434081bfae96d38d9be25e

Image Serving can be configured to substitute a missing image with a default image. The default image can be specified either with attribute::DefaultImage or the defaultImage= command.

See also section-e261d7f224ca4546bb64bf8cb909db08

attribute::ErrorDetail , attribute::ErrorImage, attribute::DefaultImage, defaultImage=

recommendation-more-help
a26166cd-f2f4-45ce-996d-96a0f0d6cf49