# Recurrence is not producing occurrences as expected

**URL:** <https://devforum.zoom.us/t/recurrence-is-not-producing-occurrences-as-expected/52566>\
**Category:** API and Webhooks\
**Created:** [June 16, 2021, 11:18am UTC](https://devforum.zoom.us/t/recurrence-is-not-producing-occurrences-as-expected/52566 "2021-06-16T11:18:41Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ashishkc](https://avatars.discourse-cdn.com/v4/letter/a/e274bd/32.png) [@ashishkc](https://devforum.zoom.us/u/ashishkc)\
**Post date:** [June 16, 2021, 11:18am UTC](https://devforum.zoom.us/t/recurrence-is-not-producing-occurrences-as-expected/52566/1 "2021-06-16T11:18:41Z")

</div>

## Recurrence is not producing occurrences as expected

**Description**  
Following is the sample payload:

```auto
{
  "topic": "Toasttest-ashish",
  "start_time": "2021-06-18T11:50:00",
  "timezone": "Asia/Kolkata",
  "duration": "30",
  "type": 8,
  "recurrence": {
    "type": 2,
    "repeat_interval": "2",
    "weekly_days": "2,6",
    "end_date_time": "2021-08-19T11:44:53"
  },
  "settings": {
    "registrants_email_notification": true,
    "watermark": true,
    "mute_upon_entry": true,
    "approval_type": 0,
    "registration_type": 1
  }
}

```

**Error**  
It only created 7 occurrences instead of 9.

**Which App Type (OAuth / Chatbot / JWT / Webhook)?**  
JWT app

**Which Endpoint/s?**  
“endpoint”: “[https://api.zoom.us/v2/users/](https://api.zoom.us/v2/users/)\<user\_id\>/meetings”,

**Additional context**  
A similar RRule for same recurrence logic is “DTSTART;TZID=Asia/Kolkata:20210618T164300  
RRULE:FREQ=WEEKLY;UNTIL=20210819T164300;INTERVAL=2;WKST=MO;BYDAY=MO,FR”

If you test this rrule on [https://jakubroztocil.github.io/rrule/](https://jakubroztocil.github.io/rrule/) , it generates 9 occurrences.

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [June 17, 2021, 7:37pm UTC](https://devforum.zoom.us/t/recurrence-is-not-producing-occurrences-as-expected/52566/2 "2021-06-17T19:37:31Z")

</div>

Hi @ashishkc,

Thanks for reaching out about this. Can you confirm on which days of the week you’d like the meeting to occur, and which date should be the last occurrence? It seems you’re trying to schedule a meeting that occurs twice a week, correct?

Additionally, please make sure your end date matches up with what will be the last occurrence (on that given day).

Thanks, and I’ll be happy to help.

Thanks!  
Will

---

<div class="post-metadata">

**Author:** ![ashishkc](https://avatars.discourse-cdn.com/v4/letter/a/e274bd/32.png) [@ashishkc](https://devforum.zoom.us/u/ashishkc)\
**Post date:** [June 24, 2021, 5:19pm UTC](https://devforum.zoom.us/t/recurrence-is-not-producing-occurrences-as-expected/52566/3 "2021-06-24T17:19:07Z")

</div>

Is there any zoom api which can give me preview of occurrences for a given recurrence structure. The recurrence structure i mentioned can we easily recreated with any date having 2 months difference in start and end dates.

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [June 25, 2021, 3:48pm UTC](https://devforum.zoom.us/t/recurrence-is-not-producing-occurrences-as-expected/52566/4 "2021-06-25T15:48:46Z")

</div>

Hi @ashishkc,

We don’t have an API that can give you a preview of occurrences—however, something you might find helpful for verifying the format is to try creating a test meeting in the UI with the recurrence structure, and then making a GET request to retrieve the meeting you created to view the structure of the recurrence object that was created.

Thanks,  
Will

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [July 26, 2021, 1:49am UTC](https://devforum.zoom.us/t/recurrence-is-not-producing-occurrences-as-expected/52566/5 "2021-07-26T01:49:47Z")

</div>

Closed on July 26, 2021, 1:49am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
