QuickBooks SDK HRESULT
0x80040410: The QuickBooks company data file is currently open in a mode other than the one specified by your application
Cause
The file is open in single-user mode while the integration asked for multi-user, or the other way round.
Fix
- 1In QuickBooks, choose File > Switch to Multi-user Mode (or single-user, to match).
- 2Run the Web Connector again.
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