QuickBooks Web Connector error 0x80040400
The Web Connector reports this when it can't get an answer from QuickBooks at all: QuickBooks never ran the request, so there is no statusCode.
What QuickBooks says
QuickBooks found an error when parsing the provided XML text stream.
Your SOAP service receives it in connectionError, or in
receiveResponseXML
in place of the response, as hresult
0x80040400 with this text in message. The Web Connector's log shows the same pair.
Things to know
- A character Windows-1252 has above 0x7F (é, ©, –, ’, a no-break space) fails the whole document with 0x80040400 when written as itself, and is stored exactly when written as a reference (é); a character Windows-1252 doesn't have is stored as its nearest match, or ?
With QuBe Sync's API
QuBe Sync runs the SOAP service for you and puts this error on the request as JSON:
{
"debug_message": null,
"error_code": null,
"error_type": "xml_error",
"hresult": "0x80040400",
"message": "QuickBooks found an error when parsing the provided XML text stream.",
"user_message": "The request sent to QuickBooks was invalid. Please let us know what you were trying to do when this error occurred."
}
Wording read from QuickBooks Enterprise Solutions 24.0 (R21_80).