- Newest
- Most votes
- Most comments
Hello,
I understand that you have a LEX bot invoking your lambda function and function is returning Json back to LEX bot and you are not able to receive the configured message and getting the default message which states that the intent is fulfilled.
From the AWS documentation, I found this point “state – The state can only be ‘ReadyForFulfillment’ if dialogAction.type is Delegate.
[+] https://docs.aws.amazon.com/lexv2/latest/dg/lambda-response-format.html
From the JSON response shared by you I could see that you are configuring state as {“state”: “Fulfilled”}. Could you please try to modify this to {“state": "ReadyForFulfillment”} and check if it works for you and I would also request you to refer the above article for additional information regarding the response format. Please note that response field information is case sensitive.
Further if you have any queries please reach out to AWS Premium Support.
Thank you
Relevant content
- asked 8 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 9 months ago
- AWS OFFICIALUpdated 2 years ago