0040-00000246

Updated at:

Problem description

The bright parameter in the image processing request is set to an invalid value.

Causes

The bright parameter value is invalid for one of the following reasons:

  • The value is not a number (for example, abc).

  • The value is a number outside the valid range (for example, 200).

Examples

Non-number value

GET /example_image?x-oss-process=image/bright,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 request fails because abc is not a number.

Out-of-range value

GET /example_image?x-oss-process=image/bright,200 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 request fails because 200 is outside the valid range of the bright parameter.

Solutions

Set bright to a valid value. For more information, see Bright.

The following example shows a corrected request:

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

References

Bright