Problem description
The source object specified by the x-oss-copy-source
parameter in the UploadPartCopy request is a delete marker.
Causes
The object version specified by the versionId parameter in the x-oss-copy-source
request header of the UploadPartCopy operation is a delete marker.
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?versionId=CAEQMxiBgMC0vs6D0BYiIGJiZWRjOTRjNTg0NzQ1MTRiN2Y1OTYxMTdkYjQ0****
The source object specified in the UploadPartCopy operation cannot be a delete marker. If /oss-example/src-object?versionId=CAEQMxiBgMC0vs6D0BYiIGJiZWRjOTRjNTg0NzQ1MTRiN2Y1OTYxMTdkYjQ0****
in the sample is a delete marker, the error is returned.
Solutions
Make sure that the source object specified by the x-oss-copy-source
header in the UploadPartCopy request is not a delete marker.