Update Record (Potential) give an error

Update Record (Potential) give an error

Hi all!

On my production environment, I've got an error when I try to update a record.

1. $idPotential = ["97538000000158003"];
2. $insPotentials=\ZCRMModule::getInstance("Potentials");
3. $bulkAPIResponse=$insPotentials->updateRecords($idPotential,"Description","Test Description");
4. $entityResponses = $bulkAPIResponse->getEntityResponses();

On 3rd line, the error is: Call to a member function getData() on string

I don't know why this line got an error, on my local environment it works fine.

Thanks in advance!

Regards!