Skip to main content

STORAGE_USER_METADATA_INVALID

Encountering an error? Get help with AI tools

Error Cause​

An x-cos-meta-* request header is invalid. Header name suffixes allow only lowercase letters, digits, and hyphens, and both individual headers and the total metadata size are limited.

Solution​

  1. Check whether the header name suffix is empty or contains invalid characters;
  2. Check whether an individual header exceeds 2 KB or all headers combined exceed 4 KB;
  3. Correct the headers and retry.