0011-00000005

Updated at:

Problem description

The value of a user metadata header contains invalid characters.

Causes

The value of a user metadata header contains invalid characters. User metadata is a set of key-value pairs.

Sample problem

An example of a valid user metadata header is x-oss-meta-last-modified:20210506.

Solutions

Check whether the values of the user metadata headers contain invalid characters.

Headers that start with x-oss-meta- are user metadata headers. Example: x-oss-meta-location. You can specify multiple user metadata headers for an object. The user metadata of an object cannot exceed 8 KB in size.

User metadata headers can contain letters, digits, and hyphens (-). Uppercase letters are converted to lowercase letters. Other characters such as underscores (_) are not supported.

References