- Newest
- Most votes
- Most comments
Please verify x-amz-request-payer header is included in the S3 Target Endpoint settings:
JSON
{ "requesterPaysEnabled": true }
Hi,
The issue and its solution is fully detailled in https://repost.aws/knowledge-center/s3-cross-account-access-denied
You turned on Requester Pays for the bucket
If you turned on Requester Pays for your bucket, then users from other accounts must
specify the request-payer parameter when sending requests to your bucket. Otherwise,
those users get an Access Denied error.
To resolve this error, take the following actions:
For DELETE, GET, HEAD, POST, and PUT requests, include x-amz-request-payer : requester in the header.
For signed URLs, include x-amz-request-payer=requester in the request.
For AWS CLI commands, include the --request-payer parameter. Example:
$ aws s3 cp exampleobject.jpg s3://DOC-EXAMPLE-BUCKET/exampleobject.jpg --request-payer requester
I understand that DMS makes the access request on your behalf and that you may not be able to change. But, at least, you can verify that it is the root cause of your trouble and open a Support case in your account if DMS doesn't set this header.
Best,
Didier
Hi, thanks for your reply. However, as I mentioned, the AWS documentation doesn't offer a solution for this case. Unfortunately, it seems that every customer who needs to use a bucket with the requester-pays option enabled has to open a support case. It would be greatly appreciated if AWS could fix this or explicitly state in the documentation that DMS is not compatible with S3 buckets configured with requester-pays. Thank you.
Relevant content
- AWS OFFICIALUpdated 2 years ago

Hi, thanks for your reply. However, that setting doesn't exist.