QuickBooks Web Connector error 0x80040421
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
The returned text is passed via the qbXML COM Request Processor directly from QuickBooks to your application and is not issued by the qbXML COM Request Processor itself. You may find it useful to copy the text verbatim to your message window.
Your SOAP service receives it in connectionError, or in
receiveResponseXML
in place of the response, as hresult
0x80040421 with this text in message. The Web Connector's log shows the same pair.
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": "unexpected_error",
"hresult": "0x80040421",
"message": "The returned text is passed via the qbXML COM Request Processor directly from QuickBooks to your application and is not issued by the qbXML COM Request Processor itself. You may find it useful to copy the text verbatim to your message window.",
"user_message": "An unexpected error occurred: The returned text is passed via the qbXML COM Request Processor directly from QuickBooks to your application and is not issued by the qbXML COM Request Processor itself. You may find it useful to copy the text verbatim to your message window."
}
Wording read from QuickBooks Enterprise Solutions 24.0 (R21_80).