0040-00000333

Updated at:

Description

The l parameter is invalid for image scaling requests that use the legacy Image Service.

Cause

The value of the l parameter is outside the valid range of [0, 4].

Example problem

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

This error is returned because the parameter value `100`, specified as 100l in the request string, is outside the valid range of [0-4].

Solution

Specify the l parameter in the request string.

References

Image scaling