Sendgrid python lambda times out.

0

I'm trying to send an email from a lambda function via sendgrid.
When AWS runs the function it reaches sendgrid.send( message ) and then times out.
I've dramatically increased the time till time out to no avail.

Importantly, I have a second successfully running function.

The two lambda function have the same security groups, roles, permissions, etc.
(well - at least I haven't spotted it. my best guess is there's something here I don't know how/where to check for).
The two functions use the same layer for access to the sendgrid library.
I've checked api-key's multiple times.

The non-working function runs successfully when I run it locally.

Has anyone else come across this issue? How did you resolve it?

Thanks.

질문됨 4년 전510회 조회
1개 답변
0

I did the old delete and recreate and magically the function now works.

답변함 4년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠