question

Lionel Champalaune avatar image
Lionel Champalaune asked

Validation Failed: 'The skill must respond to all launch requests without an error response'

Hi

I have upgraded my skill and migrate to alexa-hosted skills.

When I'm running validation I'm facing few errors but the cloudwatch logs don't contain any errors.

2 validation errors:

'The skill must provide a contextualized response to the skill’s example phrases without error.'

and

'The skill must respond to all launch requests without an error response'

My App Id is amzn1.ask.skill.9c49bab4-c3c5-480c-9b21-a6843c8da415.

When I'm testing everything is ok.

The schema/distribution are the same for all countries and weirdly errors are not the same:

1631620028984.png

The watch log is:

1631620126623.png


alexa skills kithelpcertification
1631620028984.png (132.3 KiB)
1631620126623.png (115.1 KiB)
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.

1 Answer

Vladimir@Amazon avatar image
Vladimir@Amazon answered

Hello, thanks for posting on the forum. As this issue is specific to your account, please file a contact us here where we will be able to assist further.

Regards,
Vladimir

1 comment
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.

Hi, I'm not sure if this is specific to OPs account. I encountered the same issue.


The problem is that the validation code started sending slots values formatted differently a while ago. Depending on what framework/code is used to read the slot values from the request object, you may not get them. That's what happended to me, all slot values appeared as undefined in my code.

Example when starting intent by voice or the test console:

             "name": "question",
             "value": "großmarkt krefeld",
             "resolutions": {
               "resolutionsPerAuthority": [
                 {
                   "authority": "amzn1.er-authority.echo-sdk.amzn1.ask.skill.e4d80580-76fd-4946-9c26-23ad2085c401.generalquestions",
                   "status": {
                     "code": "ER_SUCCESS_MATCH"
                   },
                   "values": [
                     {
                       "value": {
                         "name": "Großmarkt Krefeld",
                         "id": "64ab8b100731695935adef5697a2102f"
                       }
                     }
                   ]
                 }
               ]
             },

Structure for the same intent invoked by the validation code:

"name": "question",
            "resolutions": {
              "resolutionsPerAuthority": [
                {
                  "authority": "amzn1.er-authority.echo-sdk.dynamic.amzn1.ask.skill.e4d80580-76fd-4946-9c26-23ad2085c401.generalquestions",
                  "status": {
                    "code": "ER_SUCCESS_NO_MATCH"
                  }
                },
                {
                  "authority": "amzn1.er-authority.echo-sdk.amzn1.ask.skill.e4d80580-76fd-4946-9c26-23ad2085c401.generalquestions",
                  "status": {
                    "code": "ER_SUCCESS_MATCH"
                  },
                  "values": [
                    {
                      "value": {
                        "name": "Großmarkt Krefeld",
                        "id": "64ab8b100731695935adef5697a2102f"
                      }
                    }
                  ]
                }
              ]
            },

The ER_SUCCESS_NO_MATCH as first entry might confuse some code.

0 Likes 0 ·