Getting API Error

api
php

(Page Designer) #1

Hi im getting following error occasionally

Fatal error: Uncaught fXmlRpc\Exception\FaultException: Failed to invoke method findByField in class com.infusionsoft.api.xmlrpc.XmlRpcDataService: Statement cancelled due to client request in vendor/lstrojny/fxmlrpc/src/fXmlRpc/Exception/FaultException.php:32

can anyone help me why this is happening?

Im using PHP SDK

thanks


(John Borelli) #2

Hi, @pagedesigner,

Can you look to confirm if when this happens, if the field you’re searching on isn’t empty?

The php sdk has what I would consider a flaw, in that it doesn’t return a field if it’s empty. So I’m thinking that maybe this will come up as an error is a field is queried on when empty? Just a guess but it’s worth checking.