0040-00000229

Updated at:

Problem description

An invalid value is specified for the i parameter of the indexcrop action.

Causes

The value of the i parameter specified in the indexcrop action is not a number.

Examples

GET /example_image?x-oss-process=image/indexcrop,x_100,i_abc 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 abc is not a valid value of the i parameter.

Solutions

GET /example_image?x-oss-process=image/indexcrop,x_100,i_0 HTTP/1.1
Host: oss-example.oss-cn-hangzhou.aliyuncs.com
Date: Fri, 03 Feb 2023 03:41:49 GMT
Content-Type: image/jpeg

Specify a valid parameter value for the indexcrop action.

For more information, see Indexed slice.

References

Indexed slice