I am trying to develop a skill and after very frustratingly had to find out via trial-and-error that my skill seems to be “broken beyond repair” /a/79007139/5460596
But even with a brand new project, I immediately get errors that will not disappear no matter what I do. Once I add npm dependencies or code to my project, I only get “There was a problem with the requested skill’s response” with the following error-message. I have tried for days to narrow the source down, but it seems rather arbitrary, which worries me the most.
{
"type": "SessionEndedRequest",
"requestId": "amzn1.echo-api.request.0c7270aa-f54a-497f-8e97-9a71dec7f1a0",
"timestamp": "2024-09-24T15:38:34Z",
"locale": "en-US",
"reason": "ERROR",
"error": {
"type": "INTERNAL_SERVICE_ERROR",
"message": "Can't find skill bundle metadata for skillId amzn1.ask.skill.XXXXXXXXXXX locale en-US stage development"
}
}
I cannot find any resource for this error-message anywhere, and I have no idea how to proceed with this, I cannot deploy or configure anything else myself?
This is the package.json
– after I add the custom dependencies to the hello-world-skill something breaks, and keeps “broken”, even if I remove all dependencies again. Obviously some bundler/builder is triggered and messes up on Amazon-side?
{
"name": "alexa-skill-helper",
"version": "1.2.0",
"description": "alexa utility for quickly building skills",
"main": "index.js",
"scripts": {
"test": "echo "Error: no test specified" && exit 1"
},
"author": "Amazon Alexa",
"license": "Apache License",
"dependencies": {
"ask-sdk-core": "^2.7.0",
"ask-sdk-model": "^1.19.0",
"aws-sdk": "^2.326.0",
"dotenv": "^8.2.0",
"googleapis": "^52.1.0",
"i18next": "^19.4.5",
"i18next-sprintf-postprocessor": "^0.2.2",
"ics": "^2.22.1",
"lodash": "^4.17.0",
"luxon": "^1.24.1"
}
}
Edit
FYI, here is my model, I just use the default “From Scratch” Hello World intent template. The error occurs filling the intent-slots with auto-delegation – but only AFTER adding the extra nodeJS packages and redeploying
{
"interactionModel": {
"languageModel": {
"invocationName": "meta tester",
"intents": [
{
"name": "AMAZON.CancelIntent",
"samples": []
},
{
"name": "AMAZON.HelpIntent",
"samples": []
},
{
"name": "AMAZON.StopIntent",
"samples": []
},
{
"name": "AMAZON.NavigateHomeIntent",
"samples": []
},
{
"name": "AMAZON.FallbackIntent",
"samples": []
},
{
"name": "TechSupportAppointmentIntent",
"slots": [
{
"name": "appointmentDate",
"type": "AMAZON.DATE",
"samples": [
"{appointmentDate}"
]
},
{
"name": "appointmentTime",
"type": "AMAZON.TIME"
}
],
"samples": [
"make a tech support slot on {appointmentDate} at {appointmentTime}",
"book a tech support slot"
]
}
],
"types": []
},
"dialog": {
"intents": [
{
"name": "TechSupportAppointmentIntent",
"delegationStrategy": "ALWAYS",
"confirmationRequired": false,
"prompts": {},
"slots": [
{
"name": "appointmentDate",
"type": "AMAZON.DATE",
"confirmationRequired": false,
"elicitationRequired": true,
"prompts": {
"elicitation": "Elicit.Slot.5137408571304957813049571345134513451345.1617658477706"
}
},
{
"name": "appointmentTime",
"type": "AMAZON.TIME",
"confirmationRequired": false,
"elicitationRequired": false,
"prompts": {}
}
]
}
],
"delegationStrategy": "ALWAYS"
},
"prompts": [
{
"id": "Elicit.Slot.5137408571304957813049571345134513451345.1617658477706",
"variations": [
{
"type": "PlainText",
"value": "Ok, what day or date would you like to meet?"
}
]
}
]
}
}
4