In Salesforce Voice with Amazon Connect partner telephony, a contact flow can invoke an Omni-Channel flow through the InvokeTelephonyIntegrationApiFunction Lambda function. The invocation returns a 400 error response when the Salesforce queue is not mapped to an Amazon Connect queue in the contact center.
This article answers the question: why does a 400 error response return when a contact flow invokes an Omni-Channel flow in Salesforce Voice, and how can it be avoided? The two settings in the Resolution section prevent the error.
### Prerequisites
The settings apply to Salesforce Voice with Amazon Connect partner telephony, where a contact flow invokes an Omni-Channel flow through the InvokeTelephonyIntegrationApiFunction Lambda function.
### Avoid the 400 error response when invoking an Omni-Channel flow
To avoid the 400 error response, configure the following two settings:
005467099

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.