Amazon Lex Timing out in 30 seconds on Lambda Fullfilment

Viewed 1969

I have a lambda function which is tied to some external automation via a webservice. It takes about 45 seconds for the task to be completed.

I have already updated the time limitation for the lambda call to 2 mins and when I am testing it works fine.

However, when I am using the text bot in Amazon Lex I get the following message:

An error has occurred: Invalid Bot Configuration: Lambda request did not complete within permissible time (30 seconds).

Anyone know how to increase the Lex Bot Configuration to give my lambda script up to at least 1 minute ?

Thanks

2 Answers
Related