0
votes

I am working on a Lex bot which is used for creating tickets. Problem is that the ticket creation takes time and I want to return the info which I get after ticket is created to the user but I am getting below error:

ERROR: An error occurred (DependencyFailedException) when calling the PostText operation: Invalid Bot Configuration: Lambda request did not complete within permissible time (30 seconds).

However I have already set 5 mins in the Timeout of the Lambda function.
How can I solve this error?

1
Unfortunately you need to rethink the way you’re creating tickets. Bots must be designed to be very responsive. AWS Lex limits to 30 seconds timeout. stackoverflow.com/a/47570834/1715121Ele
30 seconds is too less...sid8491
I think more than that will give a bad experience to your users. Don’t you think?Ele
yes, that is indeed true. thanks for your help. :)sid8491

1 Answers

1
votes

Unlikely the lambda, lex limited to 30 seconds.

look around for more exception, refer to runtime post text's and runtime post content's Error section