Help Center/ Object Storage Service/ FAQs/ How Do I Use Lifecycle Management?/ What Can I Do If Error Message "'Days' in the Expiration Action Must Be a Non-zero Positive Integer Greater Than That in the Transition Action." Is Displayed?
Updated on 2026-09-14 GMT+08:00

What Can I Do If Error Message "'Days' in the Expiration Action Must Be a Non-zero Positive Integer Greater Than That in the Transition Action." Is Displayed?

The possible cause is that the expiration period configured in the lifecycle rule is inappropriate or is set to a value shorter than the storage class transition period defined in the rule.

For example, you have created a lifecycle rule to transition all objects to the Infrequent Access storage class 30 days after the last modification. Three days later, you modified the rule by adding a configuration to delete all objects 28 days after the last modification. In this case, the new configuration fails, the error message "'Days' in the expiration action must be a non-zero positive integer greater than that in the transition action." is displayed, and "400 BAD_REQUEST" is returned.

To solve this problem, change the expiration period to a non-zero positive integer greater than the storage class transition period.