0040-00000250

Updated at:

Problem description

An invalid parameter is specified for adding the watermark.

Causes

The font specified in the request is not Base64-based.

Examples

GET /example_image?x-oss-process=image/watermark,text_SGVsbG8gV29ybGQ,type_notbase64 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 type_notbase64 is not a Base64-encoded string.

Solutions

Encode the type parameter in Base64 in the request.

References

Add watermarks