QuickBooks SDK HRESULT
0x80040418: This application has not accessed this QuickBooks company data file before
Cause
The integration was never authorized for this company file. The first authorization must be done by the QuickBooks Admin user, in single-user mode.
Fix
- 1Log into QuickBooks as Admin and switch to single-user mode.
- 2Run the Web Connector; when QuickBooks asks, choose "Yes, always allow access even if QuickBooks is not running".
- 3Switch back to multi-user mode afterwards.
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