Hi,
I’m having trouble using the SSML audio tag in an IntentScript for Alexa. When the speech gets to the point where the audio should play, I get an error saying there was a problem with the skill response.
My current IntentScript looks like this:
I have tried using both single and double quotes in the audio tag, but nothing helps.
The audio plays if I put the URL in a browser and the file is in the correct format for Alexa.
Am I missing something here?
Thanks!
Possibly, but it doesn’t look like it. On the Alexa SSML reference, they give this example:
<speak>
Welcome to Car-Fu.
<audio src="https://s3.amazonaws.com/ask-soundlibrary/transportation/amzn_sfx_car_accelerate_01.mp3" />
You can order a ride, or request a fare estimate.
Which will it be?
</speak>
so the error that you are getting with the skill response, is this alexa just saying that or is there an actual error being logged via home assistant or the like?
Also, have you tried using this intent inside amazon dev? From what i remember, you could add phrases to a test field and alexa would ‘respond with text’ on the screen. It’s been about a year since I touched it… so i could be remembering wrong.
Hi,
The error comes from Alexa saying “there was a problem with the requested skill’s response.”
I can’t see any error messages either in the dev console or in the HA logs.
Running the intent through the tester in the alexa console gives the same response.
Yes, so if you use the test functionality in your dev utility on amazon’s dev website, you can see the response that Home assistant is sending to alexa. Then you can use that to fix it in home assistant to make it work.