Hello!
I’m having trouble all of a sudden getting the payload from a Zoom webhook. This code was working previously and now it’s not.
I have an ASP.NET application hosted on Azure, using a Web API. I have a very simple POST handler that takes a .NET object, which I derived from the JSON request body. The code as is has two issues:
If I don’t decorate the function with Accept-Verb(“GET”), it throws a 405 error saying that the method doesn’t support a GET, but previously it worked when just set up to accept a POST.
Once I do accept GETS, the function fails because the payload is null, even though if I look in the Zoom call logs there is valid JSON data in there.
I’ve tried declaring the function both synchronously and asynchonously, with no difference. I get the same results sending a dummy call from Postman.
It seems like the way in which the request is being received is causing the request body to be missed.
This only happens in V1 of the Webhooks. I’ve moved to the newer version since V1 is going to be deprecated. It receives the webhook when the controller is set up to receive only POST as a verb. Note that I used to have my V1-based controller declared to accept only POST, and it worked, so this is a recent breaking change to the V1 webhooks.