All Products
Search
Document Center

Object Storage Service:0042-00000309

Last Updated:Apr 28, 2024

Problem description

The source object specified by the x-oss-copy-source parameter in the UploadPartCopy request uses client-side encryption.

Causes

The x-oss-copy-source parameter that you configured in the UploadPartCopy request specifies a source object that uses client-side encryption.

Examples

For example, you initiate the following request:

PUT /multipart.data?partNumber=2&uploadId=63C06A5CFF6F4AE4A6BB3AD7F01C****  HTTP/1.1
Host: oss-example.oss-cn-hangzhou.aliyuncs.com
Date: Tue, 09 Apr 2019 07:01:56 GMT
Authorization: OSS qn6q**************:77Dv****************
x-oss-copy-source: /oss-example/src-object-client-enc

The UploadPartCopy operation requires that the source object does not use client-side encryption. The error is returned for the sample request if /oss-example/src-object-client-enc specified in the request uses client-side encryption.

Solutions

Make sure that the source object specified by the x-oss-copy-source parameter in the request does not use client-side encryption.

References