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.

posta un anno fa782 visualizzazioni
2 Risposte
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
ESPERTO
con risposta un anno fa
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
con risposta un anno fa
profile pictureAWS
ESPERTO
verificato un anno fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande