jwjb avatar image
jwjb asked

Alexa Skills Kit: Skill ID Verification Problem

We eat our own dog food, so to speak, using our own Skills, specifically in this case an audio streaming podcast and came across the below error in the Alexa Web App this morning.

Invalid SSML Output Speech
Request Identifier: amzn1.echo-api.request.4cffdb30-bab8-4211-a2e5-47dfb43c9803

Fatal error occurred when processing SSML content. This usually happens when the SSML is not well formed. Error: Unexpected character ' ' (code 32) (missing name?)

at [row,col {unknown-source}]: [1,110]

Tried a number of things on our end on the Development side with nothing working until one of the developers noticed in Lambda > Functions > Skill -> Alexa Skills Kit there was a new field that had been added since our last push of Skills to add the Skill ID.

Alexa Skills Kit
Skill ID verification is not set for this trigger. As a best practice, we recommend that you delete this trigger and add a new one with Skill ID verification enabled. Learn more.

We do check for this and have this set in our code, but just for grins we added our Skill ID here as well. Unfortunately, when we added our Skill ID there were now two triggers the one before without the Skill ID and the new one with the Skill ID.

Doing this definitely got the Skill working again in development which unfortunately reset the playlist, but we felt it was better to have the Skill working in Production so we pushed this change to the live and published Skill as a last resort.

So unfortunately we pushed ahead deleting the first trigger which reset the playlist for the live and published Skill that we saw in development which is definitely not a good user experience as there were hundreds of podcasts to advance through for us to get back to where we were in the playlist, so we are sure to get some bad reviews from this breaking change for this Skill, but at least it is operational again.

So the questions are, is this really what was going on with this Skill and if so is this change being forced on all legacy Skills and if so are we going to have to manually add our Skill ID for all of our Skills? If so, is there a way to do it without deleting our original trigger and resetting the playlist since we have dozens of streaming audio podcast Skills and it would be painful for all of our users and us as well?

alexa skills kitlambdaaudioplayer
10 |3000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

0 Answers