AWS lambda function stops working after timed out error

后端 未结 6 1487
生来不讨喜
生来不讨喜 2021-02-05 00:41

I have a simple lambda function that asynchronously makes an API calls and then returns data. 99% of the time this works great. When ever the API takes longer then the lambda co

6条回答
  •  逝去的感伤
    2021-02-05 01:22

    I just had to increase the timeout and the error is subsided. I increased it to 5 sec. This was okay for me because, I wasn't gonna use this Lambda in production.

提交回复
热议问题