0040-00000359

Updated at:

Problem description

The align parameter has no effect when you add an image-text watermark to an image using the legacy Image Service.

Cause

The align parameter is set to a value other than 0, 1, or 2.

Sample problems

GET /example_image@watermark=3&object=cGFuZGEucG5n&text=SGVsbG8g5Zu&order=0&align=5&interval=100 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 align parameter is set to 5. This value is invalid and causes the error.

Solution

Set the align parameter to a valid value in the request URL.

References