Error 300 > Request Body should be a valid JSON object

I’m trying to send a post to create a meeting and previously validated my json format , but my request always return an error
{“code”:300,“message”:“Request Body should be a valid JSON object.”}

I saw other topics here about this, but everything talk about the datatype of content (string/int/bool) and everything its ok in my request.

{
	"topic": "Deiectas super adimenda vita praefecto conveniet securius cogitari.",
	"type": 2,
	"start_time": {
		"date": "2022-07-26 14:00:00",
		"timezone_type": 1,
		"timezone": "-03:00"
	},
	"timezone": "America\/Sao_Paulo",
	"agenda": "Urgente abrupto ferro eundem adoritur paulum. et quia languente dextera, letaliter ferire non potuit, iam districtum mucronem in proprium latus inpegit. hocque deformi genere mortis excessit e vita iustissimus rector ausus miserabiles casus levare multorum. hinc ille commotus ut iniusta perferens et indigna praefecti custodiam protectoribus mandaverat fidis. quo conperto montius tunc quaestor acer quidem sed ad lenitatem propensior, consulens in commune advocatos palatinarum primos scholarum adlocutus est mollius docens nec decere haec fieri nec prodesse addensque vocis obiurgatorio sonu quod si.",
	"duration": 60,
	"password": "12345A6",
	"settings": {
		"host_video": true,
		"join_before_host": false,
		"approval_type": 2,
		"enforce_login": false,
		"auto_recording": "cloud",
		"meeting_authentication": false
	}
}

I did lot of tests using postman and nothing…

Any idea ?

perhaps the backslash is the problem, try

"timezone": "America/Sao_Paulo"

Jürgen

1 Like

Thanks, but not it is the cause of problem.
I did lot of tests, and finally resolve with

'start_time' => $conversacao->agendado->format(DateTime::ISO8601),
1 Like