forked from docs/doc-exports
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com> Co-authored-by: zhangyue <zhangyue164@huawei.com> Co-committed-by: zhangyue <zhangyue164@huawei.com>
1.2 KiB
1.2 KiB
Error Response Syntax
Error Response Headers
When an error occurs, the header information contains:
Content-Type: application/*, which may be in HTML or text format
HTTP status code 3xx, 4xx, or 5xx. For details, see Table 1.
Error Response Body
The response body also contains information about the error. The following is an example of an error response body in an authentication failure.
<html><h1>Unauthorized</h1><p>This server could not verify that you are authorized to access the document you requested.</p></html>
Parent topic: Error Responses