Day: September 13, 2020

API Gateway 504 timeout

I have a lambda function as backend in my API Gateway and got the timeout error (504) as the lambda function completes longer than 29 seconds. I want to know how to handle this situation. As per the documentation, this integration timeout limit is a hard limit which means it can’t be increased unfortunately. However there is a workaround by…

Read More »

Do you understand the Initiation Method as ‘Disconnect’ in Contact search of Connect?

In short, the searching results using ‘Disconnect’ as Initiation Method in Contact Search are the contacts generated when chats or calls follow disconnect flow. It is different from the metric of Contacts agent hung up first. In order to verify this statement, I did experiments in my account by setting up a sample of post call surveys based on this…

Read More »

Error: Execution failed due to configuration error: Invalid permissions on Lambda function

The cause of this issue could be the incorrect permission to integrated Lambda backend with your API. So you need to use a user with proper access and use API Gateway console to add permission to integrated Lambda backend. Please see detailed steps below. (1) Go to API Gateway console. (2) Select target API Gateway and resource method. (3) Click…

Read More »

Error: Failed to create the cloud9 environment. Cloud9 could not connect to the EC2 instance. Please check your VPC configuration and network settings.

As you may know, the VPC must have a public subnet (A subnet is public if its traffic is routed to an internet gateway). You may need to check your route table associated with your subnet to make sure it has a route to internet gateway. Otherwise your subnet is a private one. You can see the minimum suggested route…

Read More »