0011-00000005

更新时间:
复制 MD 格式

Problem description

A user metadata header value contains one or more characters that OSS does not support.

Causes

User metadata is a set of key-value pairs attached to an object. Headers with the x-oss-meta- prefix are user metadata headers—for example, x-oss-meta-location. OSS rejects requests when a user metadata header value contains characters outside the supported character set.

Examples

A valid user metadata header follows this format:

x-oss-meta-<name>:<value>

For example:

x-oss-meta-last-modified:20210506

Solutions

Check each user metadata header value in your request and remove any unsupported characters. User metadata header values support only the following characters:

  • Letters (az, AZ)

  • Digits (09)

  • Hyphens (-)

Uppercase letters are automatically converted to lowercase. Characters such as underscores (_) are not supported and cause this error.

An object can have multiple user metadata headers. The total size of all user metadata on a single object cannot exceed 8 KB. For the full list of constraints, see Manage object metadata.

References