Description
I use cancel and schedule to update the Rooms schedule.
But sometimes one or both don’t work.
But sometimes it’s completely successful.
Error
No Error
Which App Type (OAuth / Chatbot / JWT / Webhook)?
JWT
Which Endpoint/s?
POST https://api.zoom.us/v2/rooms/{roomId}/meetings
※Schedule and Canel
How To Reproduce (If applicable)
cancel Rooms schedule
Request :
{
“method”: “cancel”,
“params”: {
“meeting_info”: {
“topic”: “test”,
“start_time”: “2020-07-09T20:00:00”,
“duration”: 90,
“timezone”: “Asia/Tokyo”
}
}
}
Responce :
{
“jsonrpc”: “2.0”,
“result”: {
“room_id”: “l7HcriKoQKWiZL-plABc9Q”,
“send_at”: “2020-07-09T09:46:41Z”
},
“id”: “db11eee1-942d-46a3-b95c-ca8f52136ac7”
}
Reschedule Rooms
Request:
{
“method”: “schedule”,
“params”: {
“meeting_info”: {
“topic”: “test2”,
“start_time”: “2020-07-09T20:00:00”,
“duration”: 90,
“timezone”: “Asia/Tokyo”
}
}
}
Responce:
{
“jsonrpc”: “2.0”,
“result”: {
“room_id”: “l7HcriKoQKWiZL-plABc9Q”,
“send_at”: “2020-07-09T09:46:42Z”
},
“id”: “c09cb931-ac9b-43c4-8161-379b6fa04967”
}
The response seems to be successful.
However, it may not be reflected in the calendar on the Rooms controller.
What’s wrong?
tommy
(Tommy Gaessler)
July 14, 2020, 9:43pm
2
Hey @tajima-a ,
Can you send me a Zoom Room ID and request body JSON log of when this does not work so I can check the logs?
Thanks,
Tommy
Hi, @tommy
Zoom Room ID : 577P6P64SwKA1rMpsUjlbg
cancel
Endpoint : https://api.zoom.us/v2/rooms/577P6P64SwKA1rMpsUjlbg/meetings
Request Body :
{
"method": "cancel",
"params": {
"meeting_info": {
"topic": "test",
"start_time": "2020-07-15T10:30:00",
"duration": 30,
"timezone": "Asia/Tokyo"
}
}
}
Responce Body :
{
"jsonrpc": "2.0",
"result": {
"room_id": "577P6P64SwKA1rMpsUjlbg",
"send_at": "2020-07-15T00:25:33Z"
},
"id": "8aaf8b76-f51d-49b3-9ded-cb5588e4d457"
}
schedule
Endpoint : https://api.zoom.us/v2/rooms/577P6P64SwKA1rMpsUjlbg/meetings
Request Body :
{
"method": "schedule",
"params": {
"meeting_info": {
"topic": "test2",
"start_time": "2020-07-15T10:30:00",
"duration": 30,
"timezone": "Asia/Tokyo"
}
}
}
Responce Body :
{
"jsonrpc": "2.0",
"result": {
"room_id": "577P6P64SwKA1rMpsUjlbg",
"send_at": "2020-07-15T00:25:34Z"
},
"id": "a186f762-a3e2-4f1a-a772-9f40d8b3ff25"
}
At this time, the schedule “test” could be deleted, but the schedule “test2” was not created.
tommy
(Tommy Gaessler)
July 16, 2020, 11:27pm
4
Thanks @tajima-a ,
Our engineering team is looking into this. (ZOOM-177975)
I will get back to you with an update.
-Tommy
Hi, @tommy
Thank you for your investigation.
When will you let me know the result?
tommy
(Tommy Gaessler)
July 20, 2020, 3:46pm
6
Hey @tajima-a ,
Our engineers are looking into it, and have asked what your local timezone is so we can debug further.
Can you please provide your local timezone?
Thanks,
Tommy
Hi, @tommy
My local timezone is Asia/Tokyo.
Thanks
tommy
(Tommy Gaessler)
July 22, 2020, 10:54pm
8
Thanks @tajima-a ,
I will keep you updated on the resolution.
-Tommy
tommy
(Tommy Gaessler)
July 24, 2020, 3:39pm
9
Hey @tajima-a ,
We found the issue. It appears you exceeded our rate limits when calling the Cancel and Schedule Zoom Rooms API. Please try waiting longer in between requests and it should work.
Thanks,
Tommy
Hi, @tommy
Thank you for your investigation.
I tried waiting 3 seconds between requests, but sometimes it didn’t work.
In this case, the response body was normal as shown in the previous example.
As a system requirement, how many seconds does the RoomsAPI need to wait between requests?
tommy
(Tommy Gaessler)
July 29, 2020, 9:45pm
11
Hey @tajima-a ,
I will let you know shortly. I am confirming with our engineers.
Thanks,
Tommy
Thank you, @tommy
I look forward to your reply.
tommy
(Tommy Gaessler)
July 30, 2020, 2:43pm
13
Hey @tajima-a ,
Our engineers have suggested a time of 3-10 seconds.
Thanks,
Tommy