Description
Hi there!
Could you help me to understand why some of our meetings weren’t recorded please?
Let me explain our flow. So we have 250 paid licenses in our ISV account. We rotate them between the users:
-
Our Platform creates meeting via Zoom API
-
Before the user joins the meeting room, our system sends PATCH request to
users/${userId}
and updates user license (type: 2) -
After that our system sends request to
meetings/${meetingId}
and updates auto recording setting tocloud
-
When meeting ended we change license type of the host user to
basic
It works just fine in the most cases. However, I found that some meetings weren’t recorded, but our system sent correct requests to update license and enable auto recording.
Could you help me to investigate what was wrong please? I just want to understand why these meetings weren’t recorded. Either license wasn’t assigned to host user or meeting’s auto recording setting wasn’t updated.
Example of meeting ID: 97543662156 for user d0a629d1-871a-4cb1-a902-06103cbbce9c@isv.toptal.net
You can also check our logs:
// Updating user license
{“application”:“topcall”,“axiosData”:{“type”:2},“axiosMethod”:“patch”,“axiosUrl”:“/v2/users/d0a629d1-871a-4cb1-a902-06103cbbce9c@isv.toptal.net”,“level”:“info”,“message”:“Start external request”,“responseTime”:13,“timestamp”:“2023-08-08T19:15:17.759Z”}
{“application”:“topcall”,“axiosMethod”:“patch”,“axiosRequestData”:{“type”:2},“axiosResponseCode”:204,“axiosResponseData”:“”,“axiosUrl”:“users/d0a629d1-871a-4cb1-a902-06103cbbce9c@isv.toptal.net”,“level”:“info”,“message”:“Finish external request”,“responseTime”:345,“timestamp”:“2023-08-08T19:15:18.091Z”}
// Updating meeting auto-recording setting
{“application”:“topcall”,“axiosData”:{“settings”:{“auto_recording”:“cloud”}},“axiosMethod”:“patch”,“axiosUrl”:“/v2/meetings/97543662156”,“level”:“info”,“message”:“Start external request”,“responseTime”:346,“timestamp”:“2023-08-08T19:15:18.092Z”}
{“application”:“topcall”,“axiosMethod”:“patch”,“axiosRequestData”:{“settings”:{“auto_recording”:“cloud”}},“axiosResponseCode”:204,“axiosResponseData”:“”,“axiosUrl”:“meetings/97543662156”,“level”:“info”,“message”:“Finish external request”,“requestId”:“c2483b44-72f1-441d-a205-018d43398ccb”,“responseTime”:582,“timestamp”:“2023-08-08T19:15:18.328Z”}
As you can see, both requests finished with 2xx status codes without any issues, so I assumed that if user opens start url with ZAK then he will be joining as host and recording will be started. And it works exactly like that in the most cases, however sometimes meetings are not recorded.
Could there be any race condition on your side between user license update and meeting setting update?
Best regards,
Alexey Frank