0040-00000365
Updated at:
Problem description
An error is reported that the p parameter is invalid when you add a watermark to an image using a legacy version of Image Service.
Cause
The value of the p parameter is outside the valid range of 1 to 9.
Sample problems
GET /example_image@watermark=1&object=cGFuZGEucG5n&p=10 HTTP/1.1
Host: oss-example.oss-cn-hangzhou.aliyuncs.com
Date: Fri, 03 Feb 2023 03:41:49 GMT
Content-Type: application/xmlIn the preceding request, the parameter p=10 is invalid because the value 10 is outside the valid range of 1 to 9.
Solution
You can specify the p parameter in the request string.
References
Is this page helpful?