Error with $entityResponse in php sdk

Error with $entityResponse in php sdk

Hello,
i'm trying to integrate zoho in a project.
I need to  get the list of products saved in zoho crm but i get an error:

Notice: Undefined index: code


 in vendor\zohocrm\php-sdk\src\com\zoho\crm\library\api\response\EntityResponse.php (line 20)

  1.     public function __construct($entityResponseJSON)
  2.     {
  3.         $this->responseJSON=$entityResponseJSON;
  4.         $this->status=$entityResponseJSON[APIConstants::STATUS];
  5.         $this->message=$entityResponseJSON[APIConstants::MESSAGE];
  6.         $this->code=$entityResponseJSON[APIConstants::CODE];

try {
$zcrmModuleIns = ZCRMModule::getInstance("Products");
$bulkAPIResponse = $zcrmModuleIns->getRecords();
$recordsArray = $bulkAPIResponse->getData(); // $recordsArray - array of ZCRMRecord instances
foreach ($recordsArray as $key => $value) {
dump(
$value->getData());
}


Thanks for your help.