Search code examples
amazon-web-servicesaws-lambdaamazon-lex

Timeout Error in AWS Lex


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?


Solution

  • 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