question

Andrea Barbaglia avatar image
Andrea Barbaglia asked

My skill get an INTERNAL_ERROR on delegate response

Hi,

since 2 weeks ago, without any changes in my lambda code or in Alexa developer console, my skill (id=amzn1.ask.skill.ecd0fe84-1e99-40dc-af80-f82b01c06ea3amzn1.ask.skill.ecd0fe84-1e99-40dc-af80-f82b01c06ea3amzn1.ask.skill.ecd0fe84-1e99-40dc-af80-f82b01c06ea3) amzn1.ask.skill.ecd0fe84-1e99-40dc-af80-f82b01c06ea3is receiving an INTERNAL_SERVICE_ERROR in the Alexa skill request after sent Dialaog.Delegate.

I have open a case 12174764821 , but no answer at the moment.

My skill finds the nearest pharmacy open at the request time.
The position is taken by 2 method:
1) if the user has no grant the gelocalization or device address permission, the skill asks to user the address and the city - No Dialog delegate used and it still works.
2) if the user has grant the gelocalization or device address permission, the skill takes the position from geolocalization firstly, if it fails, it takes the value from the device address field and then it fills the city and address slots , and in the end it returns the Dialog.Delegate type response as below:

{
"version": "1.0",
"sessionAttributes": {},
"response": {
"shouldEndSession": false,
"directives": [
{
"type": "Dialog.Delegate",
"updatedIntent": {
"name": "GetNearest",
"confirmationStatus": "NONE",
"slots": {
"address": {
"name": "address",
"value": "Via Chambery 93 INT. 107/U 10142",
"confirmationStatus": "NONE"
},
"variousvalue": {
"name": "variousvalue",
"value": "la",
"confirmationStatus": "NONE",
"source": "USER",
"resolutions": {
"resolutionsPerAuthority": [
{
"authority": "amzn1.er-authority.echo-sdk.amzn1.ask.skill.ecd0fe84-1e99-40dc-af80-f82b01c06ea3.variousvalue",
"status": {
"code": "ER_SUCCESS_MATCH"
},
"values": [
{
"value": {
"name": "la",
"id": "c9089f3c9adaf0186f6ffb1ee8d6501c"
}
}
]
}
]
},
"slotValue": {
"type": "Simple",
"value": "la",
"resolutions": {
"resolutionsPerAuthority": [
{
"authority": "amzn1.er-authority.echo-sdk.amzn1.ask.skill.ecd0fe84-1e99-40dc-af80-f82b01c06ea3.variousvalue",
"status": {
"code": "ER_SUCCESS_MATCH"
},
"values": [
{
"value": {
"name": "la",
"id": "c9089f3c9adaf0186f6ffb1ee8d6501c"
}
}
]
}
]
}
}
},
"city": {
"name": "city",
"value": "Turin",
"confirmationStatus": "NONE"
}
}
}
}
]
}
}

In this case the request returned is an INTERNAL_SERVICE_ERROR with SessionEndedRequest:

"request": { "reason": "ERROR", "type": "SessionEndedRequest", "requestId": "amzn1.echo-api.request.2c85a266-6dce-4402-ba55-251f46694aa4", "locale": "it-IT", "timestamp": "2023-03-10T06:18:34Z", "reason": "ERROR",
"error": {
"type": "INTERNAL_SERVICE_ERROR",
"message": "Internal Server Error" }

Could you please help me to resolve the problem?
Thanks in advance.

Andrea

alexa skillsdialog directivecustom slot
10 |5000

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

1 Answer

Andy Whitworth avatar image
Andy Whitworth answered

You're not the only one with this issue. It's been reported on the Alexa slack channel too, worth joining if you haven't already alexa.design/slack

2 comments
10 |5000

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

Andrea Barbaglia avatar image Andrea Barbaglia commented ·

But it's unbelievable, 2 weeks I've opened the ticket to Alexa support and it still hasn't been resolved.
The only thing support told me is that it's their problem and there are many in this situation.
Of course now I have a lot of negative comments for my skill on the store....
Thanks for the tip for the slack channel.

1 Like 1 ·
Andy Whitworth avatar image Andy Whitworth Andrea Barbaglia commented ·
I've also been in the situation where an Amazon "issue" has resulted in negative customer feedback in the skill store. One incident took my skill rating from >4 to 2 in a week! Absolutely nothing I could do about the issue and the feedback + low score remains.
1 Like 1 ·