You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the documentation of ReplicationRuleFilter is described that one of the prefix, tag or and has to be specified. Actually, put-bucket-replication proceeds successfully only if one of the prefix or tag is specified, if I try to specify only and then the request always fails with "The XML you provided was not well-formed or did not validate against our published schema".
In docs PutBucketReplication examples it is shown that tags in and variant have to be specified as:
In the documentation of ReplicationRuleFilter is described that one of the
prefix
,tag
orand
has to be specified. Actually, put-bucket-replication proceeds successfully only if one of theprefix
ortag
is specified, if I try to specify onlyand
then the request always fails with "The XML you provided was not well-formed or did not validate against our published schema".In docs PutBucketReplication examples it is shown that tags in
and
variant have to be specified as:but if I pass a filter like:
then it fails, and in CloudTrail I see the next:
It seems like there's extra
Tag{}
wrapper that leads to this error. So in this case the XML looks like:The text was updated successfully, but these errors were encountered: