Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug in basic lookup #75

Open
terrenjpeterson opened this issue Jan 17, 2018 · 0 comments
Open

Bug in basic lookup #75

terrenjpeterson opened this issue Jan 17, 2018 · 0 comments
Labels

Comments

@terrenjpeterson
Copy link
Owner

at 930AM today, received an error in a basic lookup.
Invalid food name Big Mac. Pass back failed validation.

{
"messageVersion": "1.0",
"invocationSource": "DialogCodeHook",
"userId": "1521870534576137",
"sessionAttributes": {
"restaurantName": "McDonald's",
"totalCalories": "560",
"foodCalories": "560",
"foodName": "2 slices of a Large Pepperoni pizza",
"pizzaRestaurant": "true",
"dci": "2562"
},
"requestAttributes": {
"x-amz-lex:facebook-page-id": "EAAay07kwM2MBANxcaS2K4ZBuuRw740LPwOXZCh2T7j37iRzYCgZBaipUVIL7J9sj2i8qfifBI3sGoZCd9FkZBjUC1RQpFx1vBqFCBH5LNHYkdn8F3TpjHZBnKZCXYpvBgctG6KD5KXB4YRQOb8zjCLn4BIwL2Hqx0m24pD6zIChcQZDZD",
"x-amz-lex:channel-id": "cc4222e3-ddee-4f99-b1d2-df823b413e0e",
"x-amz-lex:webhook-endpoint-url": "https://channels.lex.us-east-1.amazonaws.com/facebook/webhook/cc4222e3-ddee-4f99-b1d2-df823b413e0e",
"x-amz-lex:accept-content-types": "PlainText",
"x-amz-lex:user-id": "1521870534576137",
"x-amz-lex:channel-name": "FastFoodCalorieCounter",
"x-amz-lex:channel-type": "Facebook"
},
"bot": {
"name": "FastFoodChecker",
"alias": "PROD",
"version": "126"
},
"outputDialogMode": "Text",
"currentIntent": {
"name": "GetCalories",
"slots": {
"FoodAdjustment": null,
"PacketsKetchup": null,
"Dressing": null,
"Restaurant": null,
"Extra": null,
"Ketchup": null,
"Drink": null,
"Food": "Big Mac"
},
"slotDetails": {
"FoodAdjustment": {
"resolutions": [],
"originalValue": null
},
"PacketsKetchup": {
"resolutions": [],
"originalValue": null
},
"Dressing": {
"resolutions": [],
"originalValue": null
},
"Restaurant": {
"resolutions": [],
"originalValue": null
},
"Extra": {
"resolutions": [],
"originalValue": null
},
"Ketchup": {
"resolutions": [],
"originalValue": null
},
"Drink": {
"resolutions": [],
"originalValue": null
},
"Food": {
"resolutions": [
{
"value": "Big Mac"
},
{
"value": "Big Macs"
},
{
"value": "BigMac"
},
{
"value": "2 Big Macs"
}
],
"originalValue": "Big Mac"
}
},
"confirmationStatus": "None"
},
"inputTranscript": "Calories in a Big Mac"
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant