Skip to content

Invalid XML error #3

@graphem

Description

@graphem

I often get this kind of issue when using the search module with saved search:
search->getSavedSearchResults

Fatal error: Uncaught exception 'Infusionsoft\InfusionsoftException' with message 'Invalid XML. Expected one of "string", "array", "struct", "int", "biginteger", "i8", "i4", "i2", "i1", "boolean", "double", "float", "bigdecimal", "dateTime.iso8601", "dateTime", "base64", "nil", "dom", "#text", got "value" on depth 9 (context: "")' in \infusionsoft-php\src\Infusionsoft\Infusionsoft.php on line 350

So I am not sure if this is caused by Infusionsoft API or the data that is returned. Is there any way to deal with this? Seems to occur only on special fields. E.g.: I have a saved search on Credit Card report and the error occurs when the field Exp is in the fields return array (which is the expiration date string field).

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions