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"
}
}