alexa skills kit developer console test simulator not generating IntentRequest event

alexanderskills

alexa skills kit developer console test simulator not generating IntentRequest event

Vote count:

1

I created a skill thru the developer console. The skill calls my amazon lambda service. The test simulator creates the Launch Request just fine and that comes back with what i expect. Then when i try to test an utterance the IntentRequest never shows in the console logs in the cloud watch in the service.

Below is my intent json code

,
                ,
                
            ],
            "types": []
        }
    }
}

Below is my lambda js code

/**

 Copyright 2016 Brian Donohue.

*/

'use strict';

// Route the incoming request based on type (LaunchRequest, IntentRequest,
// etc.) The JSON body of the request is provided in the event parameter.
exports.handler = function (event, context) 

        if (event.session.new) , event.session);
        }

        if (event.request.type === "LaunchRequest") );
        } else if (event.request.type === "IntentRequest") );
        } else if (event.request.type === "SessionEndedRequest") 
    } catch (e) 
};

/**
 * Called when the session starts.
 */
function onSessionStarted(sessionStartedRequest, session) 

/**
 * Called when the user invokes the skill without specifying what they want.
 */
function onLaunch(launchRequest, session, callback) 

/**
 * Called when the user specifies an intent for this skill.
 */
function onIntent(intentRequest, session, callback) 
    else 
}

/**
 * Called when the user ends the session.
 * Is not called when the skill returns shouldEndSession=true.
 */
function onSessionEnded(sessionEndedRequest, session) 

function handleTestRequest(intent, session, callback) 

// ------- Helper functions to build responses -------

function buildSpeechletResponse(title, output, repromptText, shouldEndSession) ,
        card: ,
        reprompt: 
        },
        shouldEndSession: shouldEndSession
    };
}

function buildSpeechletResponseWithoutCard(output, repromptText, shouldEndSession) ,
        reprompt: 
        },
        shouldEndSession: shouldEndSession
    };
}

function buildResponse(sessionAttributes, speechletResponse) ;
}

asked 4 hours ago

Published at Fri, 08 Jun 2018 17:23:02 +0000