intuit / QuickBooks-V3-PHP-SDK

Official PHP SDK for QuickBooks REST API v3.0: https://developer.intuit.com/
Apache License 2.0
241 stars 240 forks source link

DOMDocument::loadXML(): Start tag expected, '<' not found in Entity, line: 1 #464

Open isukhikh opened 1 year ago

isukhikh commented 1 year ago

PHP version: 8.1.9 SDK version: 6.0.5

The error occurs on a particular QuickBooks account to which I do not have access. The error occurs either when it tries to fetch records from the API or tries to create/update a record via the API.

Stack trace leads here: /vendor/quickbooks/v3-php-sdk/src/Core/HttpClients/SyncRestHandler.php in QuickBooksOnline\API\Core\HttpClients\SyncRestHandler::parseStringToDom at line 315

$dom->loadXML($string);

I believe this is an SDK issue just like the one mentioned in https://github.com/intuit/quickbooks-v3-php-sdk/issues/123