Problem description
The source object specified in the CopyObject request cannot be read.
Causes
You initiated a CopyObject request, but the source object specified in the x-oss-copy-source request header cannot be read. For example, the storage class of the source object is Archive.
Examples
The source object specified in the x-oss-copy-source request header in the following CopyObject request is an Archive object and cannot be read.
PUT /target-object HTTP/1.1
Host: example-bucket.oss-cn-hangzhou.aliyuncs.com
Date: Tue, 09 Apr 2019 03:45:32 GMT
Authorization: OSS qn6q**************:77Dv****************
x-oss-copy-source: /example-bucket/archived-object
Solutions
You can use one of the following methods to resolve the issue:
Restore the object before you call the CopyObject operation to copy an Archive object. For more information, see Restore objects.
If the source object is an Archive object, you can enable real-time access of Archive objects for the bucket in which the source object is stored. After you enable real-time access of Archive objects, all Archive objects in the bucket can be accessed without being restored. CopyObject requests are supported. For more information, see Real-time access of Archive objects.