Closed chandramoulee18 closed 4 years ago
Hi @chandramoulee18, thanks for raising the issue, could you share the AWS console test event configuration and the error you receive on CloudWatch on running the sample hello world skill?
Here is the sample test configuration I used to test the skill on AWS lambda
{
"version": "1.0",
"session": {
"new": true,
"sessionId": "amzn1.echo-api.session.123456789012",
"application": {
"applicationId": "amzn1.ask.skill.987654321"
},
"user": {
"userId": "amzn1.ask.account.testUser"
},
"attributes": {}
},
"context": {
"AudioPlayer": {
"playerActivity": "IDLE"
},
"System": {
"application": {
"applicationId": "amzn1.ask.skill.987654321"
},
"user": {
"userId": "amzn1.ask.account.testUser"
},
"device": {
"supportedInterfaces": {
"AudioPlayer": {}
}
}
}
},
"request": {
"type": "LaunchRequest",
"requestId": "amzn1.echo-api.request.1234",
"timestamp": "2016-10-27T18:21:44Z",
"locale": "en-US"
}
}
Closing issue after 28 days of inactivity. Please reopen if needed
I'm submitting a...
Expected Behavior
Run with out any exception in AWS Lambda unit test case
Current Behavior
Throwing Below error during AWS console Unit Testing- Could not find a skill to handle the incoming request: com.amazon.ask.exception.AskSdkException com.amazon.ask.exception.AskSdkException: Could not find a skill to handle the incoming request at com.amazon.ask.SkillStreamHandler.handleRequest(SkillStreamHandler.java:92)
Steps to Reproduce (for bugs)
Download the sample Project from git hub - https://github.com/alexa/alexa-skills-kit-sdk-for-java/tree/2.0.x/samples/helloworld
Build the project successfully using Maven (in Eclipse IDE).
Uploaded as a *.jar file in AWS Skill console
Changed the Hander Name accordingly.
Unit tested in AWS console for the skill and view the lock in Cloud Watch.
Possible Solution
Context
Your Environment
Java Info