0040-00000352

Updated at:

Description

The Q parameter is invalid. This error occurs when you use an older version of Image Service to change the quality of an image.

Cause

The value of the Q parameter is not in the range [1, 100].

Sample problem

GET /example_image@100w_100h_120Q 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 of the Q parameter is 120. This value is outside the valid range of [1, 100] and causes the error.

Solution

Specify the Q parameter in the request string.

References