3 回答
- 最新
- 投票最多
- 评论最多
0
There could be two root cause of your problem.
- SES is sending duplicate emails. Although SES is designed to send only one copy of the message but if in case it don't receive an acknowledgement from the recipient email server then it treat it as a failure and would do a retry of that message. please check for the duplicate message if the message id is same or not.
- Duplicate invocation of lambda. first check your cron scheduler. second, review your cloud watch logs check if the duplicate invocation has same request id? if it is a duplicate invocation , use this configuration to handle the retries - https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#invocation-async-errors
已回答 1 年前
0
Another possibility is that your Lambda function is raising an exception after sending email, triggering the Lambda service to retry. This would be visible in the Lambda function logs which you've probably already checked though.
check the image I posted below. It just took seconds in the next invocations though I have configured 2 min schedule
相关内容
- AWS 官方已更新 1 年前
- AWS 官方已更新 4 年前
I've checked the logs and the request-id seems different, check the image I posted. Any thoughts?