< Previous | Contents | Next >

Error response body

When an HS3 requests 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 table below describes XML elements in an error response body.


Element

Description

Error

Root element.

Code

The error code. For information on error codes, see “Error codes” below.

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.