Problem description
The RAM role specified by the SyncRole parameter in your data replication rule has incorrect permissions.
Causes
This error has two possible causes depending on your replication scenario:
Missing replication permissions (all scenarios): The RAM role specified by
SyncRolein yourPutBucketReplicationrequest has not been granted the permissions required for data replication.Uppercase letters in the role name (cross-account replication only): The RAM role name contains uppercase letters. For example,
AliyunOssDrsRoleis invalid for cross-account replication.
Solutions
Apply the fix that matches your cause.
If the RAM role is missing replication permissions:
Grant the RAM role the required replication permissions. For the full list of permissions and configuration steps, see Introduction to data replication permissions.
If the RAM role name contains uppercase letters:
Convert all uppercase letters in the role name to lowercase. For example, rename AliyunOssDrsRole to aliyunossdrsrole.