0040-00000321

Updated at:

Problem description

An invalid parameter is specified in the image resizing request.

Causes

The width and height of the image after resizing are set to 0.

Examples

GET /example_image?x-oss-process=image/resize,w_0,h_0 HTTP/1.1
Host: oss-example.oss-cn-hangzhou.aliyuncs.com
Date: Fri, 03 Feb 2023 03:41:49 GMT
Content-Type: application/xml

The error is returned for the preceding request because the w parameter and the h parameter are set to 0.

Solutions

Specify a valid width value and height value in the image resizing request.

References

Resize images