0040-00000354

Updated at:

Problem description

The wh parameter is invalid when you use an earlier version of Image Service to convert an image to the JPG format.

Problem cause

The wh parameter is set to a value other than 0 or 1.

Example problems

GET /example_image@5wh.jpg HTTP/1.1
Host: oss-example.oss-cn-hangzhou.aliyuncs.com
Date: Fri, 03 Feb 2023 03:41:49 GMT
Content-Type: application/xml

In the preceding request string, the value 5 in 5wh is invalid. This causes the error.

Solution

In the request string, specify the wh parameter.

References