Struggling to get Lex v2 bot to work with Connect

0

I have a simple bot that works in the Lex v2 Test interface. When I hook it up to Connect, having used the correct version and alias and setting the correct language (en-GB) in the "set voice" node, when I initially connect I hear the input prompt but the Error case triggers with a

{ "Results": "Error", ... }

Response in CloudWatch. Is there a good way to diagnose what's wrong? I don't see any logs for Lex/Lambda and only get the Connect Flow Logs to go off and they don't give much detail.

2개 답변
0

In the flow are you setting the correct voice that matches the bot, and setting the 'set language attribute'?

답변함 2달 전
  • Yes, am setting 'English (United Kingdom)' (matches the Bot) and 'Set language attribute'.

    Really odd - early version of the Bot works (essentially the Dentist Appointment booking sample) by updating the alias but the current version fails every time. Same sort of thing as the Dentist sample but different slots and modded Lambda.

    Feels quite poor that it just fails without any explanation.

0

Validate that the Lex bot works independently by testing it on the Lex console. This helps determine if the issue is with the bot itself or the Connect integration.

Some common reasons for integration failures are exceeding resource quotas when associating the bot, issues with IAM permissions for the CLI association, timeouts during the Lex session, or the contact flow taking the error path instead of returning the Lex response.

Ensure the Lex intents are properly identified with the customer inputs in the contact flow. Also check that the Lex alias and language match what is configured in Connect.

Keep it SIMPLE in the beginning...

profile picture
전문가
답변함 2달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠