Updating a meeting is not working

I have been working on getting familiar with the Zoom API recently. I have been able to execute a variety of functions using the API such as Create Meetings, Delete Meetings and Update User Settings to name a few. One that I have really been having trouble with is the Update a Meeting call. What is strange is that the Send a Test Request feature (https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meetingupdate) is also giving an error despite only adding the meeting id and the auth token. I am leaving the body as is for this test. Even when doing this, the system is giving the following error:

{
“code”: 300,
“message”: “Request Body should be a valid JSON object.”
}

Any idea on what I am missing here? Thanks in advance

Hi @bryan.metrick could you send over some of the request bodies you’re trying to send? Are you sending your requests with 'content-type: application/json' in the header?

@michael.harrington - I am using the request bodies that are listed in the “Send a Test Request” field (https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meetingupdate). The only update I am making is if I don’t need the value then I put false or null there i.e.
“password”: null,
“agenda”: null,

Hey @bryan.metrick,

Instead of putting null, please remove the property from the request body.

Also make sure you are setting things in the right format by checking the validation.

Feel free to post your request body and I will debug.

Thanks,
Tommy

@tommy - Removing the various properties seemed to do the trick. Thanks for your help

1 Like

Happy to hear that did the trick! :slight_smile:

Thanks,
Tommy