All Products
Search
Document Center

Object Storage Service:0020-00000038

Last Updated:Jan 24, 2025

Problem description

The value of a parameter in the PutBucketInventory request exceeds the length limit or is not UTF-8-encoded.

Causes

  • The Id parameter in the PutBucketInventory request is set to an invalid value.

  • The Prefix parameter of the Filter node in the PutBucketInventory is set to an invalid value.

  • The Prefix parameter in the OSSBucketDestination node in the PutBucketInventory request is set to an invalid value.

  • The Bucket parameter in the OSSBucketDestination node in the PutBucketInventory request is set to an invalid value.

Examples

  • The value of the Id parameter in the PutBucketInventory request exceeds 192 characters in length or is not UTF-8-encoded.

  • The value of the Prefix parameter of the Filter node in the PutBucketInventory exceeds 1,023 characters in length or is not UTF-8-encoded.

  • The value of the Prefix parameter in the OSSBucketDestination node in the PutBucketInventory request exceeds 1,023 characters in length or is not UTF-8-encoded.

  • The value of the Bucket parameter in the OSSBucketDestination node in the PutBucketInventory request exceeds 63 characters in length or is not UTF-8-encoded.

Solutions

  • Make sure that the value of the Id parameter does not exceed 192 characters in length and is UTF-8-encoded.

  • Make sure that the value of the Prefix parameter in the Filter node does not exceed 1023 characters in length and is UTF-8 encoded.

  • Make sure that the value of the Prefix parameter in the OSSBucketDestination node does not exceed 1023 characters in length and is UTF-8 encoded.

  • Make sure that the value of the Bucket parameter in the OSSBucketDestination node does not exceed 63 characters in length and is UTF-8-encoded.

References

PutBucketInventory