I am implementing the Proactive Event in my project. I have followed the Proactive Events from Jovo tutorials. In that tutorial mentioned AMAZON.WeatherAlert.Activated event. I have created build and deployed project on AWS Lambda. It’s working fine. After I have added others events in project.js file. look like
module.exports = {
alexaSkill: {
nlu: 'alexa',
manifest: {
permissions: [
{
name: 'alexa::devices:all:notifications:write'
}
],
events: {
publications: [
{
eventName: 'AMAZON.WeatherAlert.Activated'
},
{
eventName: 'AMAZON.SportsEvent.Updated'
},
{
eventName: 'AMAZON.MessageAlert.Activated'
},
{
eventName: 'AMAZON.OrderStatus.Updated'
},
{
eventName: 'AMAZON.Occasion.Updated'
},
{
eventName: 'AMAZON.TrashCollectionAlert.Activated'
},
{
eventName: 'AMAZON.MediaContent.Available'
},
{
eventName: 'AMAZON.SocialGameInvite.Available'
}
]
}
}
},
stages: {
local: {
endpoint: "${JOVO_WEBHOOK_URL}",
languageModel: {
'en-US': {
invocation: 'trt demo notification',
},
alexaSkill: {
skillId: "amzn1.ask.skill.xxxxxx-xxxxxxx-xxxxxxx-xxxxxxxxx"
}
}
},
test: {
endpoint: "arn:aws:lambda:xx-xx-x:xxxxxxxxxxxxxxxx:xxxxxxx:alexa-notification",
languageModel: {
'en-US': {
invocation: 'test demo notification',
}
},
},
alexaSkill: {
skillId: "amzn1.ask.skill.xxxxxxxx-xxxxx-xxxxxxxx-xxxxxxxx"
}
},
// Other settings
}
After I have added other events in project.js file, created build and deployed successfully. When I tested the skill, I got this error
data: {
type: 'Bad Request',
message: 'Skill amzn1.ask.skill.xxxxxxxxx-xxxxxxxxxx-xxxxxx in development does not have topic AMAZON.MessageAlert.Activated defined in the manifest'
}
Anybody can help to me for this issue?
Thank you