question

Clelio Quattrocchi avatar image
Clelio Quattrocchi asked

New Custom Skill: Sorry, I'm having trouble, please try in a little while.

I have developed a new skill (amzn1.ask.skill.d05fe56a-b12e-4a98-ad3d-e138d2408033) for EnelX Way allowing customers interacts with domestic charger.

I have dropped and created many times the skill but the result is always the same. At beginning Launch request works but afte few minutes I receive always the same error "Sorry, I'm having trouble, please try in a little while.".


The skill calls a web service exposed by EnelX, the web service is correctly called and return a response, but the voice assistant raises the error above.

  • amzn1.echo-api.request.434dde22-23d8-4489-9e7b-ce58f50e613e
  • timestamp: 2023-01-27T23:17:44Z
  • Command: Alexa open way charge
  • Response: below

Can someone explain where is the issue? Why when skill is just created I'm able to launch the command and after some minutes I receive that error from Alexa?


{

"body": {

"version": "1.0",

"response": {

"outputSpeech": {

"type": "SSML",

"ssml": "<speak>Welcome to the Enel X JuiceBox skill. Please specify the parameter you would like to know or what you would like to do with your JuiceBox. For example, say 'get status', 'get amps', or 'start charging my car'</speak>"

},

"card": {

"type": "Simple",

"title": "Welcome",

"content": "Welcome to the Enel X JuiceBox skill. Please specify the parameter you would like to know or what you would like to do with your JuiceBox. For example, say 'get status', 'get amps', or 'start charging my car'"

},

"directives": [

{

"type": "Dialog.UpdateDynamicEntities",

"updateBehavior": "REPLACE",

"types": [

{

"name": "JuiceBoxNameSlotType"

}

]

}

],

"reprompt": {

"outputSpeech": {

"type": "SSML",

"ssml": "<speak>Please tell me what to do…</speak>"

}

},

"shouldEndSession": false,

"type": "_DEFAULT_RESPONSE"

},

"sessionAttributes": {

"entities": [],

"slotTypeName": "JuiceBoxNameSlotType"

},

"userAgent": "ask-java/2.42.1 Java/1.8.0_342 templateResolver"

}

}


launchcustom skilllaunch-word
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

Perhaps it's your empty dynamic entities directive ? You're not providing any slot values.

1 comment
10 |5000

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

Clelio Quattrocchi avatar image Clelio Quattrocchi commented ·
Yes right, that was the issue.

Tks for the feedback

0 Likes 0 ·