Forum breadcrumbs - You are here:Coders LamentProgramming / Coding (Compiled Languages): C#Zoom API / getting bad request on …
Zoom API / getting bad request on httprequest post
#1 · 18/04/2020, 21:26
Quote from dar on 18/04/2020, 21:26
- The request message that was being returned gave "BadRequest" as the reason for failing.
- At first I thought it was because i was using an async call in a background worker. So I moved the code out of the background worker and into the controller to process real time. The background worker was in a winservice and operates independently of the website.
- Next after a lot of time, and learning a lot about the Zoom API, I figured it out. It was to do with the json body passed to the API. Specifically the recurrence class. I filled it to have a recurrence of 1 and zoom took the request and posted the meeting returning success.
- The request message that was being returned gave "BadRequest" as the reason for failing.
- At first I thought it was because i was using an async call in a background worker. So I moved the code out of the background worker and into the controller to process real time. The background worker was in a winservice and operates independently of the website.
- Next after a lot of time, and learning a lot about the Zoom API, I figured it out. It was to do with the json body passed to the API. Specifically the recurrence class. I filled it to have a recurrence of 1 and zoom took the request and posted the meeting returning success.
Click for thumbs down.0Click for thumbs up.0
David A Robertson, aka hkdave95
(Cheesy Chilli Chocci Dave)
JADER Ltd