Error response body

Content Platform Tenant Management Help

Version
9.7.x
File Size
4269 KB
Audience
anonymous
Part Number
MK-95HCPH002-19

When an S3 compatible request results in an error, HCP returns information about the error in an error request body. An error request body contains XML in this format:

<?xml version="1.0" encoding="UTF-8"?>
<Error>
     <Code>error-code</Code>
     <Message>error-message</Message>
     <RequestId>request-id</RequestId>
     <HostId>host-id</HostId>
     <BucketName>specified-bucket-name</BucketName>
     <Key>object-name</Key>
</Error>

The list below describes XML elements in an error response body.

Error
Root element.
Code
The error code.
Message
Text that provides more information about the error.
RequestId
The HCP-internal ID assigned to the request.
HostId
The HCP-internal ID of the host responding to the request.
BucketName
The specified bucket name. This element is included in the response body only when the error code is NoSuchBucket.
Key
The specified object name. This element is included in the response body only when the error code is NoSuchKey.