API error creating meeting

Description
API return 300 when creating a meeting

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

Which App Type (OAuth / Chatbot / JWT / Webhook)?
OAuth

Which Endpoint/s?
{{baseUrl}}/users/:userId/meetings

How To Reproduce (If applicable)
Body
{
“topic”: “Test”,
“type”: “2”,
“start_time”: “2020-05-08T10:00:00”,
“duration”: “60”
}

  1. See error

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

1 Like

Hey @sujan.vatturi,

Please try this JSON:

{
"topic": "Test",
"type": "2",
"start_time": "2020-05-08T10:00:00",
"duration": "60"
}

Make sure the type and duration are integers.

Thanks,
Tommy