0040-00000024
Updated at:
Problem description
An image processing (IMG) request fails because the specified object does not exist in the bucket.
Causes
The object key in the request path does not exist in the bucket. This can happen for two reasons:
Incorrect object key: The path contains a typo or an outdated key.
Object not yet uploaded: The object has not been uploaded to the bucket.
Examples
The following request fails because the object example_image_not_exist does not exist in the bucket. The object key in the request path is the source of the error.
GET /example_image_not_exist?x-oss-process=image/format,jpg HTTP/1.1
Host: oss-example.oss-cn-hangzhou.aliyuncs.com
Date: Fri, 03 Feb 2023 03:41:49 GMT
Content-Type: application/xmlSolutions
Verify that the object exists in the bucket, then resubmit the request with the correct object key.
The following request succeeds because the object example_image exists in the bucket:
GET /example_image?x-oss-process=image/format,jpg HTTP/1.1
Host: oss-example.oss-cn-hangzhou.aliyuncs.com
Date: Fri, 03 Feb 2023 03:41:49 GMT
Content-Type: application/xmlReferences
Is this page helpful?