Zoom webhook notifications, receiving different json types

Description
We have one app running in production which is receiving webhook notifications where the duration is of type string. See example below:
{“event”:“meeting.ended”,“payload”:{“account_id”:“t1Dv-o8mQzK56C1hAoBSlQ”,“object”:{“duration”:“0”,“start_time”:“2020-08-24T07:09:05Z”,“end_time”:“2020-08-24T07:09:07Z”,“topic”:“AQIL ALGHAMDI’s Personal Meeting Room”,“id”:“3154675765”,“type”:“4”,“uuid”:“vlgZ2rDPTuiABvoiY0VtuA==”,“host_id”:“gUykRDzORQmTS_0dkOgh2Q”}}}

I also tested this on my local but here I get the duration as type int:
{“event”:“meeting.ended”,“payload”:{“account_id”:“TUWsvHGOTO2_uieYoHskzg”,“object”:{“duration”:0,“start_time”:“2020-08-24T14:38:58Z”,“timezone”:“America/New_York”,“end_time”:“2020-08-24T14:39:32Z”,“topic”:“Prashant Saraswat’s Personal Meeting Room”,“id”:“3454782326”,“type”:4,“uuid”:"/ZfYlY5AQSiZOdL8JlZbfA==",“host_id”:“EyYbEualQp-GQ6L8PlFkfA”}}}

This means that the json deserialization fails on our end in at least on case. Please advise.

Hey @ps40,

Thanks for sharing this. Our engineering team is looking into the issue. I will get back to you with updates. (ZOOM-191044)

-Tommy

Hey @ps40,

We have fixed this issue for future webhooks. :slight_smile:

Apologies for the inconvenience.

-Tommy

Many thanks for the quick response.

Hello,

Today the json type changed for a different field - ‘Type’. This used to be ‘int’. Today we got a ‘string’.

Thanks
{
“event”: “meeting.ended”,
“payload”: {
“account_id”: “-KCo993oROCupK37IywJfA”,
“object”: {
“duration”: “0”,
“start_time”: “2020-08-31T12:56:05Z”,
“timezone”: “GMT+8:00”,
“end_time”: “2020-08-31T13:00:21Z”,
“topic”: “Evens Guey’s Personal Meeting Room”,
“id”: “5943968374”,
“type”: “4”,
“uuid”: “kIQJX1gyTSKGdozp8OIBOw==”,
“host_id”: “pbzNO7kLSBCFCxwi3fJYTA”
}
}
}

Hey @ps40,

Thanks for letting us know! Our engineers are looking into this—we’ll let you know as soon as we have an update.

Thanks,
Will

Hey @ps40,

We will be releasing a fix for the type type this month.

Thanks,
Tommy

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