Stack Overflow: A New Way for Developers to Get Support for Alexa

Now you can find Alexa-specific tags and topics in the AWS Collective on Stack Overflow. Ask questions and get help from badged experts and the Alexa developer community!

question

KayFly avatar image
KayFly asked

Entity Resolution stopped Working

Hey there!

Since yesterday I have some issues with an experimental skill I build for scientific purposes.

Apparently the entity resolution stopped working from one moment to the other without me changing a single character of code ?! Any ideas?

Searching for the problem, I so far figured out that an error is caused when referencing to the resolution status by:

if (handlerInput.requestEnvelope.request.intent.slots.preferenceAttribute.resolutions.resolutionsPerAuthority[0].status.code === 'ER_SUCCESS_MATCH') {
//DO STUFF
}

Any ideas on that? Appreciate your help!!

alexa skills kitalexalambdanode_js
10 |5000

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

newuser-7c87bba6-83cf-4fda-bec1-968662cfd805 avatar image
newuser-7c87bba6-83cf-4fda-bec1-968662cfd805 answered

Just came across this myself. Amazon suddenly seems to be providing an additional resolution type so having the hardcoded zero index there will no longer work. You'll have to iterate over the `resolutionsPerAuthority` array to check for any resolution with an ERR_SUCCESS_MATCH.

10 |5000

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

apeksha avatar image
apeksha answered

Hello @KayFly,

We are aware of this issue and working with our internal team please provide us the skill Id of the skill you facing this issue.

10 |5000

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