0040-00000255

Updated at:

Description

The shadow parameter specified for text watermarks is invalid.

Cause

The shadow parameter is set to a non-number value or an integral number outside the [0,100] range. The value of the shadow parameter must be an integer in the [0,100] range.

Example

GET /example_image?x-oss-process=image/watermark,text_SGVsbG8gV29ybGQ,shadow_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 error is returned for the preceding request because the value of the shadow parameter is set to 200, which is outside the value range of the parameter.

Solution

Specify an integer in the range of [0,100] as the value of the shadow parameter.

Reference

Add watermarks