问题描述
使用 ASK CLI,我正在尝试更新我的智能家居技能清单,但我遇到了以下错误。
询问 smapi get-skill-manifest -s amzn1.ask.skill.6d0d22eb-d305-4caa-8921-503cb7827454 -p supreet > Skill-manifest.json
我刚刚在下载的清单中更改了拼写。
询问 smapi update-skill-manifest -s --manifest $(cat Skill-manifest.json)
或
询问smapi update-skill-manifest -s --manifest Skill-manifest.json
"response": {
"message": "Request is not valid.","violations": [
{
"code": "INVALID_REQUEST_ParaMETER","message": "Parsing error due to invalid body.","validationDetails": {
"originalInstance": {
"type": "BODY"
},"reason": {
"type": "MALFORMED_INPUT"
}
}
}
]
}
这里是skill-manifest.json
{
"manifest": {
"apis": {
"smartHome": {
"endpoint": {
"uri": "<arn>"
},"protocolVersion": "3"
}
},"manifestVersion": "1.0","permissions": [
{
"name": "alexa::async_event:write"
}
],"privacyAndCompliance": {
"allowsPurchases": false,"containsAds": false,"isChildDirected": false,"isExportCompliant": true,"locales": {
"en-IN": {
"privacyPolicyUrl": "https://www.privacyyyyyyypolicy.net","termsOfUseUrl": "https://www.termsofuse.net"
}
},"usesPersonalInfo": false
},"publishinginformation": {
"automaticdistribution": {
"isActive": false
},"category": "SMART_HOME","distributionCountries": [],"distributionMode": "PUBLIC","isAvailableWorldwide": true,"locales": {
"en-IN": {
"description": "Test","examplePhrases": [
"test"
],"keywords": [
"test"
],"largeIconUri": "<logo-url>","name": "Test","smallIconUri": "<logo2-url>","summary": "Test"
}
},"testingInstructions": "test using alexa"
}
}
}
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)