ERROR: -1 - Failed to invoke method count in class com.infusionsoft.api.xmlrpc.XmlRpcDataService: null

I have suddenly started getting this error when doing a count in the API using php.
This is the code we have been using for the last 2 years:

$query = array(‘LastName’ => ‘ConsultingRoom’);
$CntCRClinics = $app->dsCount(“Contact”,$query);

This morning it has stopped working.
Can you help please.

Thanks Dan


We are also seeing this error when we use DataService.count on the Job table. We submitted a developer support ticket, case number 01945971.


Sorry for the late reply. The issue was resolved earlier today.

1 Like