# Zoom API returning cache response

**URL:** <https://devforum.zoom.us/t/zoom-api-returning-cache-response/6921>\
**Category:** API and Webhooks\
**Created:** [December 4, 2019, 7:03am UTC](https://devforum.zoom.us/t/zoom-api-returning-cache-response/6921 "2019-12-04T07:03:22Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![diptej.bandekar](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/diptej.bandekar/32/10758_2.png) [@diptej.bandekar](https://devforum.zoom.us/u/diptej.bandekar)\
**Post date:** [December 4, 2019, 7:03am UTC](https://devforum.zoom.us/t/zoom-api-returning-cache-response/6921/1 "2019-12-04T07:03:23Z")

</div>

When we use the zoom API for long time, the API meeting list does not include new meeting in the response. because of it teh code feels it is available at given time and try to scedule multiple meeting for same time slot

MeetingList  
keep ideal time our of application calling zoom api to 0 in app pool.  
[https://api.zoom.us/v2/users/{userId}/meetings](https://api.zoom.us/v2/users/%7BuserId%7D/meetings)

I have implemented ifmodifiedsince while making API call. And waiting. since then issue dint happened. but i am monitoring it.

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [December 4, 2019, 7:08pm UTC](https://devforum.zoom.us/t/zoom-api-returning-cache-response/6921/2 "2019-12-04T19:08:44Z")

</div>

Hey @diptej.bandekar, thanks for posting and using Zoom!

Please let us know if the issue happens again.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![diptej.bandekar](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/diptej.bandekar/32/10758_2.png) [@diptej.bandekar](https://devforum.zoom.us/u/diptej.bandekar)\
**Post date:** [December 9, 2019, 5:52am UTC](https://devforum.zoom.us/t/zoom-api-returning-cache-response/6921/3 "2019-12-09T05:52:43Z")

</div>

It happened again. Can we have a quick call?

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [December 9, 2019, 8:45pm UTC](https://devforum.zoom.us/t/zoom-api-returning-cache-response/6921/4 "2019-12-09T20:45:05Z")

</div>

Hey @diptej.bandekar,

Sure, you can schedule a Zoom meeting here:

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![diptej.bandekar](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/diptej.bandekar/32/10758_2.png) [@diptej.bandekar](https://devforum.zoom.us/u/diptej.bandekar)\
**Post date:** [December 10, 2019, 4:32am UTC](https://devforum.zoom.us/t/zoom-api-returning-cache-response/6921/5 "2019-12-10T04:32:17Z")

</div>

As per India local time all Meeting slots are before 6 AM or after 10:30 PM. Can we have it around 11 AM (IST)

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [December 10, 2019, 5:16pm UTC](https://devforum.zoom.us/t/zoom-api-returning-cache-response/6921/6 "2019-12-10T17:16:07Z")

</div>

Hey @diptej.bandekar,

I see you have scheduled for 11am MST, 11:30pm IST. Feel free to reschedule.

How often are you pinging [https://api.zoom.us/v2/users/{userId}/meetings](https://api.zoom.us/v2/users/%7BuserId%7D/meetings)?

Have you tried using our [Meeting Created](https://marketplace.zoom.us/docs/api-reference/webhook-reference/meeting-events/meeting-created) or [Meeting Started](https://marketplace.zoom.us/docs/api-reference/webhook-reference/meeting-events/meeting-started) Webhooks?

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![diptej.bandekar](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/diptej.bandekar/32/10758_2.png) [@diptej.bandekar](https://devforum.zoom.us/u/diptej.bandekar)\
**Post date:** [December 11, 2019, 1:32am UTC](https://devforum.zoom.us/t/zoom-api-returning-cache-response/6921/7 "2019-12-11T01:32:22Z")

</div>

I wanted to schedule at 11:30 AM, secluded meeting of 11:30 PM is mistake. Please delete it.

Best Regards,

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [December 11, 2019, 6:19pm UTC](https://devforum.zoom.us/t/zoom-api-returning-cache-response/6921/8 "2019-12-11T18:19:36Z")

</div>

Thanks @diptej.bandekar,

How often are you pinging [https://api.zoom.us/v2/users/{userId}/meetings](https://api.zoom.us/v2/users/%7BuserId%7D/meetings)?

Have you tried using our [Meeting Created](https://marketplace.zoom.us/docs/api-reference/webhook-reference/meeting-events/meeting-created) or [Meeting Started](https://marketplace.zoom.us/docs/api-reference/webhook-reference/meeting-events/meeting-started) Webhooks?

Can you please provide details on how to reproduce the error?

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![diptej.bandekar](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/diptej.bandekar/32/10758_2.png) [@diptej.bandekar](https://devforum.zoom.us/u/diptej.bandekar)\
**Post date:** [December 12, 2019, 10:15am UTC](https://devforum.zoom.us/t/zoom-api-returning-cache-response/6921/9 "2019-12-12T10:15:20Z")

</div>

I am not using web hooks but using zoom APIS  
[https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meetings](https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meetings)  
[https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meetingcreate](https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meetingcreate)  
before crreating every meeting we are checking if given account is having meeting at that time rang. if conflict is there we are uising different account.  
We have total 44 accounts.

---

<div class="post-metadata">

**Author:** ![diptej.bandekar](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/diptej.bandekar/32/10758_2.png) [@diptej.bandekar](https://devforum.zoom.us/u/diptej.bandekar)\
**Post date:** [December 12, 2019, 10:21am UTC](https://devforum.zoom.us/t/zoom-api-returning-cache-response/6921/10 "2019-12-12T10:21:21Z")

</div>

this issue will not come quickly. Since there are 44 accounts to get meeting for all acounts 10 mints will take, this is lot to load page, hence we are keeping all this meetings in cache, and we set ideal time-out and regular time interval for this application app pool to 0. so the cache will be there.  
after 10-12 days of clearing the cache this issue will come. After clearing cache application will again work normally.

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [December 12, 2019, 8:10pm UTC](https://devforum.zoom.us/t/zoom-api-returning-cache-response/6921/11 "2019-12-12T20:10:24Z")

</div>

Hey @diptej.bandekar,

Rather then pinging the Zoom API every time before creating a meeting, I suggest a more efficient approach like using our [Meeting Created](https://marketplace.zoom.us/docs/api-reference/webhook-reference/meeting-events/meeting-created), and [Meeting Updated](https://marketplace.zoom.us/docs/api-reference/webhook-reference/meeting-events/meeting-updated) Webhooks to keep track of when the meetings are scheduled so you can avoid meeting time conflicts.

I suggest storing the meeting start\_time and duration from the webhooks in your database, and then check your database, or update your frontend calendar to see if there are conflicts instead of hitting the Zoom API each time.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![diptej.bandekar](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/diptej.bandekar/32/10758_2.png) [@diptej.bandekar](https://devforum.zoom.us/u/diptej.bandekar)\
**Post date:** [December 23, 2019, 9:56am UTC](https://devforum.zoom.us/t/zoom-api-returning-cache-response/6921/12 "2019-12-23T09:56:31Z")

</div>

Hi Tommy,  
we haev 44 zoom accounts,  
We have created application, user can come to this application and select proper time of meeting and schedule. Application will call one by one account, and if any account is free at the given time. account will be scheduled.  
we are checking if account is free and scheduling meeting using zoom API.  
Can webhook do it?

---

<div class="post-metadata">

**Author:** ![Brandon](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/brandon/32/2685_2.png) [@Brandon](https://devforum.zoom.us/u/Brandon)\
**Post date:** [December 23, 2019, 9:57am UTC](https://devforum.zoom.us/t/zoom-api-returning-cache-response/6921/13 "2019-12-23T09:57:20Z")

</div>

@tommy I had a meeting with the customer today. The customer is asking how can he run a webhook with his 44 accounts. The customer is not familiar with how the webhooks function. Can you assist the customer in this aspect?

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [December 23, 2019, 5:26pm UTC](https://devforum.zoom.us/t/zoom-api-returning-cache-response/6921/14 "2019-12-23T17:26:25Z")

</div>

Hey @diptej.bandekar,

The Webhooks will tell you in real time if there is a meeting running for anyone on your Zoom account. The meeting is running if you have received a [Meeting Started Webhook event](https://marketplace.zoom.us/docs/api-reference/webhook-reference/meeting-events/meeting-started), and not the respective [Meeting Ended Webhook event](https://marketplace.zoom.us/docs/api-reference/webhook-reference/meeting-events/meeting-ending).

Here is more info on Webhooks:  
[https://marketplace.zoom.us/docs/guides/tools-resources/webhooks](https://marketplace.zoom.us/docs/guides/tools-resources/webhooks)

Here is sample code to receive a Webhook on your server:

> **[tommygaessler/zoom-webhook](https://github.com/tommygaessler/zoom-webhook)**
>
> Node.js Express Server to receive Zoom Webhooks. Contribute to tommygaessler/zoom-webhook development by creating an account on GitHub.

Let me know if you have additional questions.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![diptej.bandekar](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/diptej.bandekar/32/10758_2.png) [@diptej.bandekar](https://devforum.zoom.us/u/diptej.bandekar)\
**Post date:** [December 30, 2019, 4:41am UTC](https://devforum.zoom.us/t/zoom-api-returning-cache-response/6921/15 "2019-12-30T04:41:43Z")

</div>

Hi

It happened again.

to start meeting as a host we are appending zak to url. And in test environment API returning diffrenet zak which works fine and in production API returning different zak which is not correct, hence asking end user to continue as attendee.

why same API in diffreent environment getting different response.

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [December 30, 2019, 5:37pm UTC](https://devforum.zoom.us/t/zoom-api-returning-cache-response/6921/16 "2019-12-30T17:37:09Z")

</div>

Hey @diptej.bandekar,

Can you please share your request url, and full error message and screenshots?

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![DeveloperBot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/developerbot/32/12632_2.png) [@DeveloperBot](https://devforum.zoom.us/u/DeveloperBot)\
**Post date:** [August 21, 2020, 7:06pm UTC](https://devforum.zoom.us/t/zoom-api-returning-cache-response/6921/17 "2020-08-21T19:06:40Z")

</div>

Closed on August 21, 2020, 7:06pm UTC


