Undefined offset: 1

Undefined offset: 1

Before all, I have a centralized model class which has the zoho php-sdk and I have 3 more model classes that inherit from it all these work fine, but I made a new one.
After I set my access token I tried to make just a "getRecords" method and I got this resoponse.
{
"name": "PHP Notice",
"message": "Undefined offset: 1",
"code": 8,
"type": "yii\base\ErrorException",
"file": "/var/www/html/rpc/vendor/zohocrm/php-sdk/src/com/zoho/crm/library/api/response/CommonAPIResponse.php",
"line": 104,
"stack-trace": [
  "#0 /var/www/html/rpc/vendor/zohocrm/php-sdk/src/com/zoho/crm/library/api/response/CommonAPIResponse.php(104): yii\base\ErrorHandler->handleError(8, 'Undefined offse...', '/var/www/html/r...', 104, Array)",
  "#1 /var/www/html/rpc/vendor/zohocrm/php-sdk/src/com/zoho/crm/library/api/response/CommonAPIResponse.php(49): CommonAPIResponse->setResponseJSON()",
  "#2 /var/www/html/rpc/vendor/zohocrm/php-sdk/src/com/zoho/crm/library/api/response/BulkAPIResponse.php(37): CommonAPIResponse->__construct('HTTP/1.1 302 \r\n...', 302)",
  "#3 /var/www/html/rpc/vendor/zohocrm/php-sdk/src/com/zoho/crm/library/api/APIRequest.php(111): BulkAPIResponse->__construct('HTTP/1.1 302 \r\n...', 302)",
  "#4 /var/www/html/rpc/vendor/zohocrm/php-sdk/src/com/zoho/crm/library/api/handler/MassEntityAPIHandler.php(320): APIRequest->getBulkAPIResponse()",
  "#5 /var/www/html/rpc/vendor/zohocrm/php-sdk/src/com/zoho/crm/library/crud/ZCRMModule.php(877): MassEntityAPIHandler->getRecords(NULL, NULL, NULL, 1, 200, NULL)",
  "#6 /var/www/html/rpc/models/Crm.php(54): ZCRMModule->getRecords()",
  "#7 /var/www/html/rpc/models/Rpc.php(81): app\models\Crm->getRecords('Products')",
  "#8 /var/www/html/rpc/controllers/RpcController.php(56): app\models\RPC->ojo()",
  "#9 [internal function]: app\controllers\RpcController->actionIndex()",
  "#10 /var/www/html/rpc/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array(Array, Array)",
  "#11 /var/www/html/rpc/vendor/yiisoft/yii2/base/Controller.php(157): yii\base\InlineAction->runWithParams(Array)",
  "#12 /var/www/html/rpc/vendor/yiisoft/yii2/base/Module.php(528): yii\base\Controller->runAction('', Array)",
  "#13 /var/www/html/rpc/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction('rpc/', Array)",
  "#14 /var/www/html/rpc/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest(Object(yii\web\Request))",
  "#15 /var/www/html/rpc/web/index.php(12): yii\base\Application->run()",
  "#16 {main}"
],

}