# Unable Update an existing calendar event if i send recurrence object in the request

**URL:** <https://forums.nylas.com/t/unable-update-an-existing-calendar-event-if-i-send-recurrence-object-in-the-request/399>\
**Category:** Question and Answers\
**Tags:** calendar-api\
**Created:** [September 2, 2024, 2:22pm UTC](https://forums.nylas.com/t/unable-update-an-existing-calendar-event-if-i-send-recurrence-object-in-the-request/399 "2024-09-02T14:22:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sheik](https://avatars.discourse-cdn.com/v4/letter/s/d2c977/32.png) [@sheik](https://forums.nylas.com/u/sheik)\
**Post date:** [September 2, 2024, 2:22pm UTC](https://forums.nylas.com/t/unable-update-an-existing-calendar-event-if-i-send-recurrence-object-in-the-request/399/1 "2024-09-02T14:22:37Z")

</div>

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:

```auto
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:

```auto
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?

---

<div class="post-metadata">

**Author:** ![Blag](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.nylas.com/blag/32/9_2.png) [@Blag](https://forums.nylas.com/u/Blag)\
**Post date:** [September 2, 2024, 8:41pm UTC](https://forums.nylas.com/t/unable-update-an-existing-calendar-event-if-i-send-recurrence-object-in-the-request/399/2 "2024-09-02T20:41:44Z")

</div>

Hello @sheik Let me ask and I will get to back you 🙂

---

<div class="post-metadata">

**Author:** ![Blag](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.nylas.com/blag/32/9_2.png) [@Blag](https://forums.nylas.com/u/Blag)\
**Post date:** [September 9, 2024, 11:22am UTC](https://forums.nylas.com/t/unable-update-an-existing-calendar-event-if-i-send-recurrence-object-in-the-request/399/3 "2024-09-09T11:22:20Z")

</div>

Hello @sheik sorry for the long wait…

Have you tried this via cURL? If you get the same error it might a platform issue and not an SDK issue…can you confirm? That would helps us to create a ticket and get this fixed…
