Calling a lambda function once, it's executed twice

后端 未结 3 548
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-01-13 14:54

This is more of a concern than a question, but still, has anyone experienced this before? Does anyone know how to prevent it?

I have a lambda function (L1) which cal

3条回答
  •  春和景丽
    2021-01-13 15:25

    One case that may cause this is that in your L2 lambda you didn't return anything, which will lead the L1 lambda (the caller) to think there is an error with L2 and so the Retry mechanism is triggered. Try to return something in L2, even simply an "OK".

提交回复
热议问题