Is there a way to increase AWS Connect module "Invoke AWS Lambda function" timeout?

0

We were troubleshooting an issue for the customer and encountered the flow wherein the call is routed to the error branch due to the timeout.

The Invoke AWS Lambda function timeout is maxed out at 8 seconds but the query to the API takes about 11 seconds. timeout max 8 secs

The Lambda is already set at 10mins, but it seems the timeout in connect takes precedence. lambda timeout

Is there a way to increase the timeout in the AWS Connect module "Invoke AWS Lambda function" to more than 8 seconds?

  • Definitely look at how to speed up your Lambda. Remember that in telephony any pause grater than 5 seconds can confuse the caller and make them think the call hung up.

asked a year ago768 views
2 Answers
0

Hi,

you are correct, it is not possible to extend the timeout of 8 seconds for invoking lambda functions associated with AW Connect, as also this guide shows in a screenshot: https://docs.aws.amazon.com/connect/latest/adminguide/invoke-lambda-function-block.html.

You could try to decrease lambda execution with mechanisms such as Snapstart (if Java based) or Provisioned concurrency.

Hope it helps ;)

profile picture
EXPERT
answered a year ago
0

For processing which may take more than 8 seconds, you can do your work asynchronously. For more details see the blog at https://aws.amazon.com/blogs/contact-center/use-asynchronous-lambda-functions-with-amazon-connect/

AWS
answered a year ago
profile pictureAWS
EXPERT
reviewed a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions