API for lifecycle configuration on S3 bucket fails by HTTP 400
Applies to
StorageGRID 11.4
Issue
API for lifecycle configuration on S3 bucket fails by HTTP 400
when Rule
contains neither Filter
or Prefix
element.
Result Code : 400
The XML you provided was not well-formed.
Example:
<LifecycleConfiguration>
<Rule>
<ID>rule1</ID>
<Expiration>
<Days>30</Days>
</Expiration>
<Status>Enabled</Status>
</Rule>
</LifecycleConfiguration>