I’m encountering an issue when trying to update an existing calendar event with a new recurrence rule using the Nylas Node.js SDK. Below is the logged recurrence object:
recurrence: ['RRULE:FREQ=WEEKLY;UNTIL=20241006T000000Z;BYDAY=MO,TU,WE,TH,FR']
However, when I attempt to update the event, I receive the following error:
NylasApiError: Internal Server Error
at APIClient.sendRequest (file:///C:/Users/SheikJaveed/Desktop/Tynybay/NYLAS/Nylas-V3/nylas-upgrade/node_modules/nylas/lib/esm/apiClient.js:89:33)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async APIClient.request (file:///C:/Users/SheikJaveed/Desktop/Tynybay/NYLAS/Nylas-V3/nylas-upgrade/node_modules/nylas/lib/esm/apiClient.js:144:26)
{
type: 'internal_error',
requestId: '24a394b9-b4b3-4107-98cb-efb2bc41418b',
providerError: undefined,
statusCode: 500
}
Interestingly, the recurrence object works perfectly when creating a new event, but the error occurs specifically when updating an existing event with a recurrence rule.
Has anyone else experienced this issue, or does anyone have insights into what might be causing this error?