Direkt zum Inhalt

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 Antworten
2
Akzeptierte Antwort

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.

AWS
beantwortet vor 3 Jahren
EXPERTE
überprüft vor 3 Jahren
EXPERTE
überprüft vor 3 Jahren
EXPERTE
überprüft vor 3 Jahren
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.
EXPERTE
beantwortet vor 3 Jahren
  • Hi Sedat, Encryption type: Server-side encryption with Amazon S3 managed keys (SSE-S3) Bucket Key Disabled

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.