question

undefined avatar image
undefined asked

Can't add ISP to skill using V2 CLI

I am trying to create a new ISP, using the guide on here https://developer.amazon.com/en-US/docs/alexa/smapi/skill-package-api-reference.html#manage-isps


However, when I run a deploy with the --debug flag I receive this error:

Response body: "{\"skill\":{\"resources\":[{\"action\":\"CREATE\",\"errors\":[{\"message\":\"Object instance at property path \\\"$\\\" has unexpected property:

\\\"version\\\".\"}],\"name\":\"InSkillProduct.TemplateSkillPremium\",\"status\":\"FAILED\"},{\"action\":\"UPDATE\",\"name\":\"InteractionModel.en-GB\",\"status\":\"ROLLBACK_SUCCEEDED\"},{\"action\":\"UPDATE\",\"name\":\"InteractionModel.en-US\",\"status\":\"ROLLBACK_SUCCEEDED\"},{\"action\":\"UPDATE\",\"name\":\"Manifest\",\"status\":\"ROLLBACK_SUCCEEDED\"}],\"skillId\":\"amzn1.ask.skill.ec3890fb-ae94-44cd-9a66-df5ab912c929\"},\"status\":\"FAILED\"}"


This is what my isps.json looks like, which is container in my isps folder in skill-package

{

"isps": {

"TemplateSkillPremium": {

"path": "file://isps/temp/TemplateSkillPremium.json"

}

},

"associations": []

}


I've tried to copy the specified folder structure.

skill-package/isps/temp/TemplateSkillPremium.json

skill-package/isps/isps.json


But I keep receiving the above error when attempting deployment!



ask cli
10 |5000

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

0 Answers