0040-00000274

Updated at:

Description

An invalid parameter is specified in the watermarking request.

Cause

The fill parameter in the watermarking request is not set to 0 or 1.

Example

GET /example_image?x-oss-process=image/watermark,text_SGVsbG8gV29ybGQ,fill_2 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 2 is not a valid value of the fill parameter.

Solution

Specify a valid value for the fill parameter.

Reference

Add watermarks