You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
QnABot 5.4.3 fulfillment throws an exception when a Preprocessing Lambda Hook is configured.
To Reproduce
Configure a Preprocessing Lambda Hook - it doesn't need to do anything - jest return event unchanged.
Then send an utterance to the bot from web client. It will not respond.
Check fulfillment function logs for the exception.
Expected behavior
Should function normally and not throw the exception.
Please complete the following information about the solution:
[v5.4.3 ] Version: [e.g. v0.0.1]
To get the version of the solution, you can look at the description of the created CloudFormation stack. For example, "(SO0189) QnABot [...] v0.0.1".
[ALL ] Region: [e.g. us-east-1]
[No ] Was the solution modified from the version published on this repository?
If the answer to the previous question was yes, are the changes available on GitHub?
Have you checked your service quotas for the services this solution uses?
[YES - see image above ] Were there any errors in the CloudWatch Logs?
Screenshots
If applicable, add screenshots to help explain your problem (please DO NOT include sensitive information).
Additional context
Add any other context about the problem here.
Issue" the runPreProcessLambda function is broken (code).. When the preprocessor function is defined and run, the function returns an object with keys lambdaResultReq and lambdaResultRes.. But the keys need to be req and res.
The text was updated successfully, but these errors were encountered:
Describe the bug
QnABot 5.4.3 fulfillment throws an exception when a Preprocessing Lambda Hook is configured.
To Reproduce
Configure a Preprocessing Lambda Hook - it doesn't need to do anything - jest return event unchanged.
Then send an utterance to the bot from web client. It will not respond.
Check fulfillment function logs for the exception.
Expected behavior
Should function normally and not throw the exception.
Please complete the following information about the solution:
To get the version of the solution, you can look at the description of the created CloudFormation stack. For example, "(SO0189) QnABot [...] v0.0.1".
Screenshots
If applicable, add screenshots to help explain your problem (please DO NOT include sensitive information).
Additional context
Add any other context about the problem here.
Issue" the
runPreProcessLambda
function is broken (code).. When the preprocessor function is defined and run, the function returns an object with keyslambdaResultReq
and lambdaResultRes.. But the keys need to be req and res.The text was updated successfully, but these errors were encountered: