Reference
QuickBooks Desktop integration error codes
Cause and step-by-step fix for the errors Web Connector integrations hit most.
Web Connector (QBWC)
SDK HRESULT (0x8004…)
- 0x80040400QuickBooks found an error when parsing the provided XML text stream
- 0x80040401Could not access QuickBooks
- 0x80040402Unexpected error from the QuickBooks SDK
- 0x80040403Could not open the specified QuickBooks company data file
- 0x80040408Could not start QuickBooks
- 0x8004040AQuickBooks company data file is already open and it is different from the one requested
- 0x8004040DThe ticket parameter is invalid
- 0x80040410The QuickBooks company data file is currently open in a mode other than the one specified by your application
- 0x80040414A modal dialog box is showing in the QuickBooks user interface
- 0x80040416If QuickBooks is not running, a call to BeginSession must include the name of the company data file
- 0x80040418This application has not accessed this QuickBooks company data file before
- 0x8004041AThis application does not have permission to access this QuickBooks company data file
- 0x8004041DThis application is not allowed to log into this QuickBooks company data file automatically
- 0x80040420The QuickBooks user has denied access
- 0x80040422This application requires single-user file access mode and another application is already sharing data with this company file
- 0x80040424QuickBooks did not finish its initialization
qbXML statusCode
- 1A query request did not find a matching object in QuickBooks
- 3000The given object ID is invalid
- 3020There was an error when converting the date value
- 3070The string in the field is too long
- 3100The name of the list element is already in use
- 3120Object specified in the request cannot be found
- 3140There is an invalid reference to QuickBooks in the request
- 3200The provided edit sequence is out-of-date
- 3210A field has an invalid value or a required value is missing
- 3250This feature is not enabled or not available in this version of QuickBooks