Request Body should be a valid JSON object

I am facing error like below
{
“code”: 300,
“message”: “Request Body should be a valid JSON object.”
}

JSON body

“topic”: “creating another meeting now from snow REST API”,
“type”: “2”,
“start_time”: “2019-06-14T10:21:57”,
“duration”: “45”,
“timezone”: “Europe/Madrid”,
“agenda”: “test”,

“recurrence”: {
“type”: “integer”,
“repeat_interval”: “integer”,
“weekly_days”: “integer”,
“monthly_day”: “integer”,
“monthly_week”: “integer”,
“monthly_week_day”: “integer”,
“end_times”: “integer”,
“end_date_time”: “2019-17-06 13:24:11”
},
“settings”: {
“host_video”: “true”,
“participant_video”: “true”,
“join_before_host”: “False”,
“mute_upon_entry”: “False”,
“watermark”: “true”,
“audio”: “voip”,
“auto_recording”: “cloud”
}
}

Hi @harishd.srv

The error, Request Body should be a valid JSON object., occurs because your request body does not meet the required JSON format.

  • Try replacing and with " ".
  • Within recurrence, please make sure that you have added the type. For any other objects that you dont want to add values, you can just put null or remove those objects.

I would recommend trying JSON formatter to format the JSON.

Thanks