0040-00000271
Updated at:
Problem description
The watermarking request contains an invalid parameter.
Causes
The align parameter in the watermarking request is set to a value other than 0, 1, or 2.
Examples
GET /example_image?x-oss-process=image/watermark,text_SGVsbG8gV29ybGQ,image_ZXhhbXBsZS9leGFtcGxlLmpwZwo,align_3 HTTP/1.1
Host: oss-example.oss-cn-hangzhou.aliyuncs.com
Date: Fri, 03 Feb 2023 03:41:49 GMT
Content-Type: application/xml
This request returns an error because 3 is outside the valid range of the align parameter.
Solutions
Set the align parameter to a valid value: 0, 1, or 2.
References
Is this page helpful?