Non any results after getData() - PHP SDK

Non any results after getData() - PHP SDK

Hello,

I'm using the PHP SDK on a symfony website. I have implemented all the persistence and the connection with access and refresh token. But I have a problem when I execute this code :

$configuration = $this->getConfig();
ZCRMRestClient::initialize($configuration);
$zcrmModuleIns = ZCRMModule::getInstance("Contacts");
$bulkAPIResponse=$zcrmModuleIns->getRecords();
$recordsArray = $bulkAPIResponse->getData();
print_r($recordsArray);

It returns me : Array().
So there is no any results, Can you help me ?


Thank you, Hugo !