Issue description
When an object is uploaded by using multipart upload or resumable upload, Object Storage Service (OSS) returns the "NoSuchUpload" error code. The following error message appears:
The specified upload does not exist. The upload ID may be invalid, or the upload may have been aborted or completed.
Causes
The object is not completely uploaded in a multipart upload or resumable upload request because the upload ID that is specified by calling the UploadPart operation does not exist.
Solutions
During multipart upload or resumable upload, check the returned results and make sure that HTTP status code 200 and the request ID are returned for the CompleteMultipartUpload operation. We recommend that you check whether the upload ID recorded when you call the UploadPart operation is valid or whether the upload that corresponds to the upload ID is complete. For more information, see InitiateMultipartUpload.
Additional information
The multipart upload process consists of the following steps:
Initialize a multipart upload task: Call the
ossClient.initiateMultipartUpload
method to return the globally unique upload ID that is created by OSS.Upload parts: Call the
ossClient.uploadPart
method to upload the parts.Complete the multipart upload task: After all parts are uploaded, call the
ossClient.completeMultipartUpload
method to combine all parts into a complete object.
Applicable scope
OSS