HTTP status codes (PUT object upload part copy)

The table below describes HTTP status codes that can be returned in response to a request to upload a part of a multipart upload by copying. For more information about HTTP status codes and the error codes that can accompany them, see Error codes.

Code Meaning Description
200 OK

HCP successfully uploaded the part.

400 Bad Request

Possible reasons include:

The specified part number is not an integer in the range 1 (one) through 10,000.

The request specifies a range, and one of these is true:

oThe start position for the range is greater than or equal to the size of the source object data.

oThe start position for the range is greater than the end position.

The request includes conflicting conditional headers (for example, x-amz-copy-source-if-match and x-amz-copy-source-if-none-match).

The request includes a custom metadata (x-amz-meta-) header.

403 Forbidden

Possible reasons include:

The request specifies anonymous access. Only an authenticated user can upload parts for a multipart upload.

The credentials provided with the request are invalid.

The credentials provided with the request do not match the credentials used to initiate the multipart upload.

You do not have permission to upload parts in the specified bucket.

The S3 compatible API is currently disabled for the specified bucket.

The source object exists, but the HCP system does not have the source object data. Try the request again later.

The source object is in the process of being deleted.

404 Not Found

One of these:

The specified multipart upload does not exist. Either the upload ID is invalid, or the multipart upload was aborted or completed.

In the case of completion, if the part being uploaded is a replacement for an existing part, the existing part is used for completing the multipart upload.

The specified bucket does not exist.

409 Conflict The specified multipart upload was completed or aborted while the upload part copy operation was in progress.
412 Precondition Failed

One of these:

The request included an x-amz-copy-source-if-match header, and the ETag for the specified source object or object version does not match any of the values specified by the header.

The request included an x-amz-copy-source-if-none-match header, and the ETag for the specified source object or object version matched a value specified by the header.

The request included an x-amz-copy-source-if-modified-since header, and the specified source object or object version was not modified after the date and time specified by the header.

The request included an x-amz-copy-source-if-unmodified-since header, and the specified source object or object version was modified after the date and time specified by the header.

500 Internal Server Error

An internal error occurred.

If this error persists, contact your tenant administrator.

503 Service Unavailable

Possible reasons include:

The source object exists but cannot be read.

HCP is temporarily unable to handle the request, probably due to system overload, maintenance, or upgrade.

Try the request again, gradually increasing the delay between each successive attempt.

If this error persists, contact your tenant administrator.

© 2015, 2020 Hitachi Vantara LLC. All rights reserved.