1 Answer
- Newest
- Most votes
- Most comments
0
Hi,
as pointed out here: https://catalog.us-east-1.prod.workshops.aws/workshops/94f60d43-15b7-45f4-bbbc-17889ae64ea0/en-US/banker-bot/create-first-lambda, in Amazon Lex V2 you now create a single Lambda function per language per bot, which must be able to support both types of Amazon Lex interaction.
Read on that guide (https://catalog.us-east-1.prod.workshops.aws/workshops/94f60d43-15b7-45f4-bbbc-17889ae64ea0/en-US/banker-bot/create-first-lambda#enabling-lambda-code-hooks-on-the-intents) as the lambda needs to be associated with bot alias .
Hope it helps ;)
Relevant content
- asked 6 months ago
- AWS OFFICIALUpdated 3 years ago
Hi Antonio, I followed the exact steps you shared but my Bot is not working .I'm getting below error . Kindly suggest
Invalid Lambda Response: Received invalid response from Lambda: Cannot construct instance of
IntentResponse
, problem: The validated object is null at [Source: (String)"{"dialogAction":{"type":"Close","fulfillmentState":"FAILED","message":{"contentType":"PlainText","content":"Error in Lex Lambda"}}}"; line: 1, column: 131]