QuickBooks SDK HRESULT
0x80040416: If QuickBooks is not running, a call to BeginSession must include the name of the company data file
Cause
QuickBooks is closed and the Web Connector does not know which company file to open, typically because the app was added without a file open.
Fix
- 1Open the company file in QuickBooks.
- 2Remove and re-add the .qwc file while that company file is open, so the Web Connector stores its path.
How LedgerWire handles it
LedgerWire returns this code in the error’s qbStatusCode with a plain-language fix, re-queues requests a broken Web Connector session dropped, and alerts you when a connection stops checking in. The hosted sandbox reproduces 3100, 3120, 3140, 3200, 3070 and 0x80040400 so you can test your error handling without Windows.
Related errors
Tired of debugging the Web Connector by hand?
Try the hosted sandbox