0040-00000270
Updated at:
Problem description
The watermarking request fails because the interval parameter value is outside the valid range.
Causes
The interval parameter controls the spacing between text and image watermarks. The valid value range is [0, 1000]. The request fails when interval is set to a value outside this range, such as 2000.
Examples
The following request triggers this error because interval_2000 exceeds the maximum value of 1000:
GET /example_image?x-oss-process=image/watermark,text_SGVsbG8gV29ybGQ,image_ZXhhbXBsZS9leGFtcGxlLmpwZwo,interval_2000 HTTP/1.1
Host: oss-example.oss-cn-hangzhou.aliyuncs.com
Date: Fri, 03 Feb 2023 03:41:49 GMT
Content-Type: application/xmlSolutions
Set interval to a value in the range [0, 1000]. For example, replace interval_2000 with interval_50:
GET /example_image?x-oss-process=image/watermark,text_SGVsbG8gV29ybGQ,image_ZXhhbXBsZS9leGFtcGxlLmpwZwo,interval_50 HTTP/1.1
Host: oss-example.oss-cn-hangzhou.aliyuncs.com
Date: Fri, 03 Feb 2023 03:41:49 GMT
Content-Type: application/xmlReferences
Is this page helpful?