LedgerWire

QuickBooks SDK HRESULT

0x8004040A: QuickBooks company data file is already open and it is different from the one requested

Cause

QuickBooks has another company file open than the one this connection was set up with. The Web Connector remembers the file path from the first sync.

Fix

  1. 1Open the company file this integration belongs to (the one you had open when you added the .qwc).
  2. 2If the customer really switched files, remove the app from the Web Connector and add the .qwc again with the new file open.

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