0040-00000364

Updated at:

Problem description

The voffset parameter is invalid when you add a watermark to an image using an earlier version of Image Processing (IMG).

Cause

The value of the voffset parameter is outside the valid range of [-1000, 1000].

Examples

GET /example_image@watermark=1&object=cGFuZGEucG5n&voffset=5000 HTTP/1.1
Host: oss-example.oss-cn-hangzhou.aliyuncs.com
Date: Fri, 03 Feb 2023 03:41:49 GMT
Content-Type: application/xml

In the preceding request, the value 5000 in voffset=5000 is outside the valid range of [-1000, 1000]. This causes the error.

Solution

Set the voffset parameter to a value within the valid range of [-1000, 1000] in your request string.

References