0040-00000254

Updated at:

Problem description

The color parameter in the watermarking operation is invalid.

Causes

The color parameter in the watermarking operation does not meet the requirements.

Examples

GET /example_image?x-oss-process=image/watermark,text_SGVsbG8gV29ybGQ,type_bm90c3VwcG9ydAo,color_AABBCCDD HTTP/1.1
Host: oss-example.oss-cn-hangzhou.aliyuncs.com
Date: Fri, 03 Feb 2023 03:41:49 GMT
Content-Type: application/xml

The error is returned for the preceding request because the color parameter requires a 6-character value but AABBCCDD does not meet this requirement.

Solutions

Specify a valid color value in the request.

References

Add watermarks