question

Raja Saravanan avatar image
Raja Saravanan asked

The requested content has an invalid property 'promptversion'. Error when deploying Alexa Skill from CLI

I have created a Bot Skill similar to the Pizza Order Bot in Lex and it is working fine from Lex. Now I publish the bot and Export it to Alexa Skill Kit. This Json has prompt version under prompts in JSON. I use ask deploy command to deploy this to Alexa and I get the error The requested content has an invalid property 'promptversion' when I load the model. However when I drag and drop this JSON to Interaction Model from Alexa console there is no error and I see that Alexa console removes promptversion and definitionversion from the JSON. Any idea why this difference is existing? If I need to manually edit the exported JSON from Lex then it doesn't make sense for an export functionality.

alexa skills kitask cliinteraction modeldialog modelmodel
10 |5000

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

1 Answer

Anand@Amazon avatar image
Anand@Amazon answered

Hello Raja,

Please share skill id for more debugging.

10 |5000

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