# Oddities and bugs in webhooks

**URL:** <https://devforum.zoom.us/t/oddities-and-bugs-in-webhooks/6046>\
**Category:** API and Webhooks\
**Created:** [September 27, 2019, 12:28pm UTC](https://devforum.zoom.us/t/oddities-and-bugs-in-webhooks/6046 "2019-09-27T12:28:55Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jimig](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jimig/32/1815_2.png) [@jimig](https://devforum.zoom.us/u/jimig)\
**Post date:** [September 27, 2019, 12:28pm UTC](https://devforum.zoom.us/t/oddities-and-bugs-in-webhooks/6046/1 "2019-09-27T12:28:55Z")

</div>

1. Duration is rather large…

```auto
{
    "event": "meeting.created",
    "payload": {
        "account_id": "SG7cyaTzRoqSEyRnb4Djeg",
        "operator": "xx",
        "operator_id": "_jneLUhhQTmF09bdksDaiQ",
        "object": {
            "uuid": "i07xafRQT+OLz+P/XHQHEQ==",
            "id": 436623359,
            "host_id": "_jneLUhhQTmF09bdksDaiQ",
            "topic": "Zoom Meeting",
            "type": 1,
            "duration": 808529459
        }
    }
}

```

What use is that number to me?

1. Meeting ended event provides the start\_time, not end\_time

```auto
{
    "event": "meeting.ended",
    "payload": {
        "account_id": "SG7cyaTzRoqSEyRnb4Djeg",
        "object": {
            "duration": 808529459,
            "start_time": "2019-09-27T12:00:40Z",
            "timezone": "",
            "topic": "Zoom Meeting",
            "id": "436623359",
            "type": 1,
            "uuid": "i07xafRQT+OLz+P/XHQHEQ==",
            "host_id": "_jneLUhhQTmF09bdksDaiQ"
        }
    }
}

```

Again the duration is wildly inaccurate. If it was correct, I could deduce the end time. Because of these 2 bugs I must fetch the past meeting instance.

1. Hooks seem to be re-sent hours later?

```auto
{
    "event": "recording.resumed",
    "payload": {
        "account_id": "SG7cyaTzRoqSEyRnb4Djeg",
        "object": {
            "uuid": "ypsgTTsBRrKONekWUNjZgg==",
            "id": 536849397,
            "host_id": "_jneLUhhQTmF09bdksDaiQ",
            "topic": "Zoom Meeting",
            "type": 1,
            "start_time": "2019-09-27T12:35:05Z",

```

This meeting ended 2h ago. Why am I getting this event just now?

---

<div class="post-metadata">

**Author:** ![ojus.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ojus.zoom/32/734_2.png) [@ojus.zoom](https://devforum.zoom.us/u/ojus.zoom)\
**Post date:** [September 27, 2019, 9:38pm UTC](https://devforum.zoom.us/t/oddities-and-bugs-in-webhooks/6046/2 "2019-09-27T21:38:42Z")

</div>

Hi @jimig,

Happy to Help.

> [@jimig](#):
>
> 1. Duration is rather large…
> 
> ```auto
> {
> "event": "meeting.created",
> "payload": {
> "account_id": "SG7cyaTzRoqSEyRnb4Djeg",
> "operator": "xx",
> "operator_id": "_jneLUhhQTmF09bdksDaiQ",
> "object": {
> "uuid": "i07xafRQT+OLz+P/XHQHEQ==",
> "id": 436623359,
> "host_id": "_jneLUhhQTmF09bdksDaiQ",
> "topic": "Zoom Meeting",
> "type": 1,
> "duration": 808529459
> }
> }
> }
> 
> ```

Can you please confirm the following?

- Was this an [instant meeting started from the Zoom Client using your PMI?](https://support.zoom.us/hc/en-us/articles/203276937-Using-Personal-Meeting-ID-PMI-)

- If the meeting was created/updated using our APIs, can you confirm if you manually set the duration?

We are also currently investigating if this was a bug within our system.

> [@jimig](#):
>
> 1. Meeting ended event provides the start\_time, not end\_time
> 
> ```auto
> {
> "event": "meeting.ended",
> "payload": {
> "account_id": "SG7cyaTzRoqSEyRnb4Djeg",
> "object": {
> "duration": 808529459,
> "start_time": "2019-09-27T12:00:40Z",
> "timezone": "",
> "topic": "Zoom Meeting",
> "id": "436623359",
> "type": 1,
> "uuid": "i07xafRQT+OLz+P/XHQHEQ==",
> "host_id": "_jneLUhhQTmF09bdksDaiQ"
> }
> }
> }
> 
> ```
> 
> Again the duration is wildly inaccurate. If it was correct, I could deduce the end time. Because of these 2 bugs I must fetch the past meeting instance.

We have taken your feedback under consideration, and have decided to include this field within the event. I have added this as a feature request within our system (ID: ZOOM-112120) and sent it to the engineering team. The “end\_time” field will be added to this event in one of our future releases. Please follow our [changelog](https://marketplace.zoom.us/docs/changelog) for further updates.

> [@jimig](#):
>
> 1. Hooks seem to be re-sent hours later?
> 
> ```auto
> {
> "event": "recording.resumed",
> "payload": {
> "account_id": "SG7cyaTzRoqSEyRnb4Djeg",
> "object": {
> "uuid": "ypsgTTsBRrKONekWUNjZgg==",
> "id": 536849397,
> "host_id": "_jneLUhhQTmF09bdksDaiQ",
> "topic": "Zoom Meeting",
> "type": 1,
> "start_time": "2019-09-27T12:35:05Z",
> 
> ```
> 
> This meeting ended 2h ago. Why am I getting this event just now?

After receiving a notification, your **Event Notification Endpoint URL** should respond with either a `200` or a `204` HTTP status code within **three seconds** for Zoom to consider that the notification was successfully delivered. Zoom will try to deliver the notification for **up to three times** for an event.

Can you confirm that you sent a response to Zoom after the notification was delivered to you?

For more information, please visit: [https://marketplace.zoom.us/docs/api-reference/webhook-reference#notification-delivery](https://marketplace.zoom.us/docs/api-reference/webhook-reference#notification-delivery)

Thanks,  
Ojus

---

<div class="post-metadata">

**Author:** ![jimig](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jimig/32/1815_2.png) [@jimig](https://devforum.zoom.us/u/jimig)\
**Post date:** [October 4, 2019, 1:33pm UTC](https://devforum.zoom.us/t/oddities-and-bugs-in-webhooks/6046/3 "2019-10-04T13:33:48Z")

</div>

Hi Ojus,

Thanks for taking a look.

With 1, yes it was instant (I guess this means the PMI is used implicitly). It was created in the Zoom client.

2, I can now see the webhook is updated, thanks!

1. I think we did respond with a 204, but this was rather delayed. That would explain 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:** [October 5, 2019, 12:18am UTC](https://devforum.zoom.us/t/oddities-and-bugs-in-webhooks/6046/5 "2019-10-05T00:18:04Z")

</div>

Hey @jimig,

We are looking into this and will get back to you next week! 🙂

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, 6:43pm UTC](https://devforum.zoom.us/t/oddities-and-bugs-in-webhooks/6046/6 "2020-08-21T18:43:43Z")

</div>

Closed on August 21, 2020, 6:43pm UTC


