Not a "valid JSON object"

I am testing with creating a new Meeting via the API.

I am getting this error:
{"code":300,"message":"Request Body should be a valid JSON object."}

With this JSON, which seems valid and passes validation:

	"topic": "Test 28/8",
	"type": "1",
	"start_time": "2020-08-28T16:30:00",
	"timezone": "Asia/Jerusalem",
	"duration": "60",
	"password": "112233",
	"settings": {
		"host_video": "true",
		"participant_video": "true",
		"cn_meeting": "false",
		"in_meeting": "false",
		"join_before_host": "true",
		"mute_upon_entry": "true",
		"watermark": "true",
		"use_pmi": "boolean",
		"approval_type": "0",
		"registration_type": "0",
		"audio": "both",
		"auto_recording": "none",
		"registrants_email_notification": "false"

Can someone shed some light on this?

Hey @coda

Thanks for posting on the Zoom Devforum! I am still learning, but I will try my best to help answer your question. :slightly_smiling_face:

Checkout this related thread that may have the answer you are looking for:

If this thread did not help, please let us know by replying back here and someone from the Developer Relations team will get back to you shortly.


The suggested link didnt help, thanks.
But I may have a solution. I was sending the JSON in string form, which is sometimes acceptable in API scenario’s. It seems that if I send as a JSON object, the above code may work.

Hey @coda,

Yes, the Zoom API is expecting the request body in JSON format. :slight_smile:



This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.