0011-00000002

更新时间:
复制 MD 格式

Problem description

The user metadata in your request exceeds the 8 KB size limit. Reduce the total size of all x-oss-meta-* headers in the request.

Causes

User metadata headers are custom HTTP headers that begin with x-oss-meta-. A PutObject request can include multiple x-oss-meta-* headers, but the total size of all user metadata cannot exceed 8 KB.

This error occurs when the following condition applies:

Total user metadata exceeds 8 KB

The total size of all x-oss-meta-* header names and values in the request is 8 KB or more.

Header name contains unsupported characters

User metadata header names may only contain letters, digits, and hyphens (-). Uppercase letters are automatically converted to lowercase. All other characters — including underscores (_) — are not supported.

AllowedNot allowed
x-oss-meta-file-typex-oss-meta-file_type (underscore)
x-oss-meta-author123x-oss-meta-author@corp (special character)

Examples

None.

Solutions

  1. Audit all x-oss-meta-* headers in your request.

  2. Check the total size of all header names and values. Confirm the total is under 8 KB.

  3. If the total exceeds 8 KB, shorten header names or values, or remove headers that are not needed.

  4. If any header name contains characters other than letters, digits, or hyphens, rename it to use only allowed characters.

References