0011-00000004

Updated at:

Problem description

The key of a user metadata header contains invalid characters.

Causes

The key of a user metadata header contains invalid characters. User metadata is a set of key-value pairs. The key of a user metadata header must start with x-oss-meta-.

Examples

Examples of valid user metadata keys are x-oss-meta-location and x-oss-meta-last-modified.

Solutions

Check whether 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

PutObject