[PHP] ZCRMModule::updateRecords() throws [INVALID_DATA|400] "body"

[PHP] ZCRMModule::updateRecords() throws [INVALID_DATA|400] "body"

Full error:

Zoho CRM Exception: (ZCRM\exception\ZCRMException) [INVALID_DATA|400] "body" (Array(
    [expected_data_type] => jsonobject
))

Code:

$record = ZCRMRecord::getInstance('Leads', '000000000000000000');
$record->First_Name = 'Test';
$record->Email = ' test@test.com';
$zcrmModuleIns = ZCRMModule::getInstance($module);
$bulkAPIResponse = $zcrmModuleIns->updateRecords(array($record));
return $bulkAPIResponse->getEntityResponses();

I have no problem when calling ZCRMModule::upsertRecords(). The same code, just changing the function name.

I'd be grateful for any suggestions.