0040-00000251

Updated at:

Problem description

An invalid parameter is specified for adding the text watermark.

Causes

The specified font of the text watermark is not supported.

Examples

GET /example_image?x-oss-process=image/watermark,text_SGVsbG8gV29ybGQ,type_bm90c3VwcG9ydAo 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 Base64-decoded string of bm90c3VwcG9ydAo is notsupport, which is not a valid value of the type parameter. For a list of supported fonts for text watermarks, see Add watermarks.

Solutions

Specify a supported font in the request.

References

Add watermarks