I am trying to create reminders. I followed this example: https://www.jovo.tech/docs/v2/amazon-alexa/reminders and https://developer.amazon.com/en-US/docs/alexa/smapi/alexa-reminders-api-reference.html#reminder-object
if (!this.$alexaSkill.hasPermissionAccepted()) {
this.$alexaSkill.askForReminders();
}
and I try to add the reminder like this:
try {
const reminderAbsolute = {
"requestTime" : "2019-09-22T19:04:00.672",
"trigger": {
"type": "SCHEDULED_ABSOLUTE",
"scheduledTime" : "2019-09-22T19:00:00.000",
"timeZoneId": 'America/Sao_Paulo',
"recurrence" : {
"startDateTime": "2019-05-10T6:00:00.000",
"endDateTime" : "2019-08-10T10:00:00.000",
"recurrenceRules" : [
"FREQ=DAILY;BYHOUR=6;BYMINUTE=10;BYSECOND=0;INTERVAL=1;",
"FREQ=DAILY;BYHOUR=17;BYMINUTE=15;BYSECOND=0;INTERVAL=1;",
"FREQ=DAILY;BYHOUR=22;BYMINUTE=45;BYSECOND=0;INTERVAL=1;"
]
}
},
"alertInfo": {
"spokenInfo": {
"content": [{
"locale": "pt-BR",
"text": "walk the dog",
"ssml": "<speak> walk the dog</speak>"
}]
}
},
"pushNotification": {
"status": "ENABLED"
}
};
await this.$alexaSkill.$user.setReminder(reminderAbsolute);
return this.tell(`Ok`);
} catch (error) {
console.error(`error: ${error}`);
}
}
and I get the error: Error: Internal Server error
I just copied and pasted the examples and it gives this error. Someone help me?