All Products
Search
Document Center

Object Storage Service:0020-00000042

Last Updated:Mar 20, 2026

Problem description

The Id specified in the PutBucketInventory request already exists in the bucket's inventory configuration.

Causes

Each inventory in a bucket must have a unique Id. The Id in your request matches an existing inventory already configured for the same bucket.

Examples

A bucket can have multiple inventories. However, the Id of each inventory must be unique within the bucket. If you submit a PutBucketInventory request with an Id that is already used by another inventory in the same bucket, OSS returns this error.

Solutions

Change the Id value in your request to one that is not already used by any inventory in the bucket.

References

PutBucketInventory