When using the API to create a new campaign, first an attempt is made to gather all lists. I don't know if this is unique to our data but this code is failing. The value for $call is:
https://api.constantcontact.com/ws/customers/skipperbuds/lists
$return = $this->doServerCall($call);
$parsedReturn = simplexml_load_string($return);
$call2 = '';
In our case $parsedReturn is string of 46 spaces causing issues further down stream. I beleive that the Php function simplexml_load_string is failing because the input - $return is incorrectly formatted. It is missing a few elements. I have attached a text file with the resultant XML.
Is there anything I can do?
... View more