0040-00000264

Updated at:

Problem description

An invalid parameter is specified in the watermarking request.

Causes

The y parameter specified in the watermarking request is invalid.

The y parameter specifies the vertical margin, which is the vertical distance between the watermark and the image edge. This parameter takes effect only when the watermark is on the upper left, upper middle, upper right, lower left, lower middle, or lower right of the image. The value range of the parameter is [0,4096].

Examples

GET /example_image?x-oss-process=image/watermark,text_SGVsbG8gV29ybGQ,y_8000 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 y parameter is set to 8000, which is outside the value range of the parameter.

Solutions

Specify a valid value for the y parameter.

References

Add watermarks