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
답변함 일 년 전
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 공식업데이트됨 4년 전
I've checked the logs and the request-id seems different, check the image I posted. Any thoughts?