You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Alexa技能开发内部错误:无法找到技能包元数据

Alexa技能INTERNAL_SERVICE_ERROR问题求助

问题描述

开发Alexa技能时,原有技能已彻底损坏。即使创建全新项目,添加npm依赖或代码后,就会出现“请求的技能响应存在问题”提示,对应错误为INTERNAL_SERVICE_ERROR,具体信息为:Can't find skill bundle metadata for skillId amzn1.ask.skill.XXXXXXXXXXX locale en-US stage development。移除所有依赖后问题仍无法解决,找不到该错误的相关资料,无法正常部署或配置。

错误日志

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

package.json配置

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

交互模型配置

{
    "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?"
                    }
                ]
            }
        ]
    }
}

补充信息

使用默认“从零开始”的Hello World意图模板,添加额外NodeJS包并重新部署后,在自动委托填充意图槽时触发错误。


内容的提问来源于stack exchange,提问作者Luke Schwoebel

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.06.18 00:13:17