Ir para o conteúdo

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 Respostas
2
Resposta aceita

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
respondido há 3 anos
ESPECIALISTA
avaliado há 3 anos
ESPECIALISTA
avaliado há 3 anos
ESPECIALISTA
avaliado há 3 anos
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.
ESPECIALISTA
respondido há 3 anos
  • Hi Sedat, Encryption type: Server-side encryption with Amazon S3 managed keys (SSE-S3) Bucket Key Disabled

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.