question

RayGarrix avatar image
RayGarrix asked

Alexa skill Reminder API ServiceError: Unknow error

I am developing an Alexa skill that using the Reminder API, it was working fine. Just these days it can not create reminders, I have checked the cloud watch, there shown Service Error: Unknow error


Is anyone knows what' wrong with the Reminder API?

This is my code of the creating reminder. Thanks for your help.

const reminderRequest = {

trigger: {

type: "SCHEDULED_ABSOLUTE",

// offsetInSeconds : '10',

scheduledTime: taskTime.format('YYYY-MM-DDTHH:mm:00.000'),

timeZoneId: timezone,

},

alertInfo: {

spokenInfo: {

content: [{

locale: "en-GB",

text: message,

}]

}

},

pushNotification: {

status: "ENABLED"

}

};

try {

const reminderResponse = await remindersApiClient.createReminder(reminderRequest);

console.log(JSON.stringify(reminderResponse));

const reminderId = reminderResponse["alertToken"];

console.log("reminderId: " + reminderId);

return reminderId;

} catch (error) {

console.log ("error: " + error);

}

apiremindersalexa skills
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