Getting different response in alexa developer service simulator and in alexa app server testing utility
See original GitHub issueHi ,
I am getting different responses in alexa developer service simulator and in your testing utility.
Response in alexa app server testing utility
{
"version": "1.0",
"response": {
"directives": [
{
"type": "AudioPlayer.Play",
"playBehavior": "REPLACE_ALL",
"audioItem": {
"stream": {
"url": "https://songurl",
"token": "123456",
"offsetInMilliseconds": 0
}
}
}
],
"shouldEndSession": true,
"outputSpeech": {
"type": "SSML",
"ssml": "<speak>playing the song shape of you from app</speak>"
},
"card": {
"type": "Simple",
"title": "My Cool Card",
"content": "playing the song shape of you from app"
}
},
"sessionAttributes": {}
}
Response in alexa developer service simulator:
{
"version": "1.0",
"response": {
"outputSpeech": {
"ssml": "<speak>playing the song shape of you from app</speak>",
"type": "SSML"
},
"card": {
"content": "playing the song shape of you from app",
"title": "My Cool Card"
},
"speechletResponse": {
"outputSpeech": {
"ssml": "<speak>playing the song shape of you from app</speak>"
},
"card": {
"content": "playing the song shape of you from app",
"title": "My Cool Card"
},
"directives": [
{
"playBehavior": "REPLACE_ALL",
"audioItem": {
"stream": {
"token": "123456",
"url": "https://songurl",
"offsetInMilliseconds": 0
}
}
},
{
"template": {
"title": "My Cool Card",
"textContent": {
"primaryText": {
"richText": "<font size=\"7\">playing the song shape of you from app</font>"
}
},
"backButtonBehavior": "HIDDEN"
}
}
],
"shouldEndSession": true
}
},
"sessionAttributes": {}
}
why the “type”: “AudioPlayer.Play” is not displaying in service simulator. The song is not playing. Only the text is saying by the device. And why “speechletResponse” object is displaying in service simulator. Am i doing anything wrong?. Please let me know the solution. I am facing the issue.
Issue Analytics
- State:
- Created 6 years ago
- Comments:7 (2 by maintainers)
Top Results From Across the Web
Test and Debug Your Custom Skill | Alexa Skills Kit
Follow these recommendations to test custom skills. Before you start testing, complete the steps to verify the minimum configuration and deploy your skill....
Read more >Programming Alexa Skills for the Amazon Echo
In this article, you'll learn how Alexa works, and how to develop, deploy, and test your own Alexa Skill in C#, and how...
Read more >GitHub - alexa-js/alexa-app-server
Contribute to alexa-js/alexa-app-server development by creating an ... This allows you to test your skill using a web browser and view the responses, ......
Read more >Alexa Skills Tutorials - Amazon Alexa Skill Building Tutorials ...
If you're interested, simply add console.log(process.env) in your LaunchRequestHandler's handle() method. Then, test your skill with the Test tab of the Alexa ......
Read more >Programming Alexa Skills | Beginner tutorial - IONOS
To allow Alexa voice service users to develop their own Alexa Skills, Amazon provides the Alexa Skills Kit through the Alexa Developer Console ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I think there is a problem in service simulator of amazon developer site. Now i am able to play a song in echo dot. But still the service simulator doesn’t show the proper response type for directives and card also.
And even for link account the card object is showing empty in service simulator of amazon developer site.