If you configured an inventory for a bucket but no inventory lists have appeared, work through the following causes in order.
A DENY policy is blocking writes to the destination bucket
If the destination bucket has a bucket policy that restricts write access by IP address, the OSS inventory service may not be able to write inventory lists to that bucket.
For example, if the destination bucket allows writes only from specific IP addresses and the inventory daemon's IP addresses are not on that allowlist, inventory generation silently fails.
To fix this, do one of the following:
Use a different bucket in the same region as the source bucket, with no DENY policies configured.
Create a new bucket in the same region as the source bucket, and use it as the destination.
The object prefix in the inventory configuration is invalid
An invalid Object Prefix value prevents inventory lists from being generated.
Check that the prefix follows these rules:
To scan all objects in the bucket, leave the Object Prefix field blank.
To scan all objects in a specific directory, set Object Prefix to the full directory path without the bucket name, and include a trailing slash.
Examples (for a bucket named examplebucket):
| Target directory | Object Prefix value |
|---|---|
exampledir1/ | exampledir1/ |
exampledir1/exampledir2/ | exampledir1/exampledir2/ |
The prefix does not match any objects
If the prefix is syntactically valid but matches no objects in the bucket, OSS generates no inventory lists.
Confirm that at least one object in the bucket has a key that starts with the prefix you specified.
You are looking in the wrong path
Inventory lists are stored in the destination bucket using the following structure:
dest_bucket
└──destination-prefix/
└──src_bucket/
└──inventory_id/
├──YYYY-MM-DDTHH-MMZ/
│ ├──manifest.json
│ └──manifest.checksum
└──data/
└──745a29e3-bfaa-490d-9109-47086afcc8f2.csv.gzThe path to your inventory lists depends on the Inventory Path value you set when configuring the inventory:
| Inventory Path value | Manifest objects path | Inventory lists path |
|---|---|---|
| (blank) | <src_bucket>/<inventory_id> | <src_bucket>/data/ |
exampledir1 | exampledir1/<src_bucket>/<inventory_id> | exampledir1/<src_bucket>/data/ |
exampledir1/exampledir2 | exampledir1/exampledir2/<src_bucket>/<inventory_id> | exampledir1/exampledir2/<src_bucket>/data/ |
The RAM role does not have permission to export inventory lists
If you modified the permissions of the Resource Access Management (RAM) role associated with the inventory after creating it, the role may no longer have sufficient permissions to export inventory lists.
Grant the required permissions to the RAM role. For the full list of required permissions, see Required permissions.