Amazon ses and S3: Could not write to bucket

0

Hi,

I followed the following documentation https://docs.aws.amazon.com/ses/latest/dg/receiving-email-permissions.html#receiving-email-permissions-s3

However, I still receive the following message on ses:
Unknown error Request failed with unknown error, ensure that you have the necessary permissions and that all fields have correct values.

Server-side message: Could not write to bucket: xxxxx

I disabled the "block all public access" on S3 and the issue is still there. Both S3 and the ses has the same region. Check the attached for the permission policy, the red is where made my edits.

amazonses

Best

2 Answers
1
Accepted Answer

You have the word region in your AWS:SourceArn, the word region should be replaced by your region, like this:

"AWS:SourceArn": "arn:aws:ses:eu-west-1:111122223333:receipt-rule-set/rule_set_name:receipt-rule/receipt_rule_name"

You also need to add the AWS:SourceAccount, after the region. In the example above, the source account is 111122223333.

profile pictureAWS
answered 10 months ago
profile picture
EXPERT
reviewed 9 months ago
profile picture
EXPERT
reviewed 10 months ago
profile picture
EXPERT
reviewed 10 months ago
0

I can offer you some other solutions hope these works

  • If your bucket has default encryption enabled, SES must have permission to use the KMS key for that encryption.
  • If you're specifying an object key prefix, ensure that it's correctly formatted. For example, if you're using a folder structure, make sure you're including the trailing slash.
profile picture
EXPERT
answered 10 months ago
  • Hi Sedat, Encryption type: Server-side encryption with Amazon S3 managed keys (SSE-S3) Bucket Key Disabled

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions