我使用亚马逊的主动通知功能为 Alexa 编写了一项技能。
它工作正常,直到昨天,我可以看到亚马逊回声以黄色闪烁。
当我查询设备“Alexa,检查我的通知”时,信息可用。
但是今天它不起作用,我收到以下错误:
"Violations for metadata: [expiryTime should be at least 5 minutes in the future and no more than 24 hours after the current time"
这是我发送的通知,我包括当前时间和过期时间,偏移量为 10 分钟。请参阅下面的示例
知道有什么问题吗?
提前致谢,
酯
{ "timestamp": "2019-01-30T00:11:20", "referenceId": "98871463", "expiryTime": "2019-01-30T00:11:30", "event": { "name": "Alerted", "payload": { "type": "AMAZON.MessageGroup.Alerted", "messageState": { "type": "AMAZON.MessageState", "status": "UNREAD", "freshness": "NEW" }, "message": { "type": "AMAZON.Message", "creator": { "type": "AMAZON.Person", "name": "eve" }, "count": 1, "urgency": "URGENT" } } }, "relevantAudience": { "type": "Multicast", "payload": { } } }