Closed dakoller closed 6 years ago
Hi - I had similar issues, I've fixed with the following:
Hope this helps and good luck!
Hi @ajuluri
I corrected the alexa.APP_ID and verified the https:// link. I could play the link from the browser. I also updated canThrowCard function to return always true and waited for sometime and tested the code and no luck.
Is there any options you could suggest? Below is the directives from test simulator
"directives": [ { "playBehavior": "REPLACE_ALL", "audioItem": { "stream": { "token": "0", "url": "https://s3.amazonaws.com/tamilcomedydialogues/Gowndamani+-+Azhagu+Raja.mp3", "offsetInMilliseconds": 0 } } },
Thanks, Gubendran
@dakoller
You can add a line inside the intents to capture to CloudWatch Logs what is coming in to the function.
console.log(this.event);
Have a look at https://github.com/alexa/skill-sample-nodejs-audio-player/blob/mainline/single-stream/lambda/src/index.js#L11 to demonstrate how you can capture the full request / response.
Also, the audio player directive are only supported on actual devices. EchoSim or the web simulator will not play any song.
I am closing this now, feel free to re-open with more details if you still are facing this issue.
The skeleton of the skill works now well... so all non-audio commands "somehow" work.
However whenever I would expect some audio to be played i get the german pendant of "There was a problem with the response, which this skill gave back". But my cloudwatch logs do tell me not, that there was an error.
..where and how can i put the skill output into cloudwatch logs to see the feedback?