Quickbooky

Accounting News

Web Connector

QuickBooks Web Connector rejects .qwc file with invalid GUID

QuickBooks Web Connector fails to add a .qwc configuration file when the OwnerID or FileID contains characters that are not valid hexadecimal digits.

COMMUNITY ISSUESQUICKBOOKY

QuickBooks Desktop users integrating third-party applications through the Web Connector are reporting failures when attempting to add a .qwc configuration file. The problem surfaces across multiple error messages, but the underlying cause in at least one widely reported case traces back to a malformed identifier inside the file itself.

The Reported Problem

A user running QuickBooks Desktop 2018 US Enterprise Edition with Web Connector version 2.2 attempted to connect a custom dashboard application. After manually editing the .qwc file to remove an XML declaration line that was triggering a separate error, the user encountered a new set of failures. The Web Connector log showed a session starting and connecting to QuickBooks, but the application was never successfully registered. Instead, the log indicated that the application access could not be properly established or removed from within QuickBooks.

The .qwc file — the XML document that tells the Web Connector how to communicate with an external application — contained two GUID-style identifiers: an OwnerID and a FileID. One of those identifiers turned out to be the culprit.

What the Web Connector Log Reveals

The accepted answer in the community thread points users directly to the Web Connector’s own log output. Buried in the session messages was a specific status line reporting that the software could not convert the OwnerID value because it was not a valid GUID.

A GUID — sometimes called a UUID — is a globally unique identifier formatted as a sequence of hexadecimal digits arranged in five groups separated by hyphens. Hexadecimal digits run from zero through nine and the letters A through F. Any character outside that set makes the entire identifier invalid.

In the user’s case, the OwnerID value contained the letters G, Q, N, and X — none of which exist in the hexadecimal system. The Web Connector parsed the file, reached that identifier, and stopped because the value did not conform to the required format.

How to Resolve It

The fix is straightforward: replace the invalid GUID with one that uses only hexadecimal digits. Developers and integrators generating .qwc files should use a standard GUID-generation tool rather than typing a value manually or substituting recognizable letters. Most programming languages and operating systems include built-in utilities that produce properly formatted hexadecimal GUIDs.

Both the OwnerID and the FileID fields in a .qwc file must contain valid GUIDs enclosed in curly braces. The FileID should be unique to the specific integration, while the OwnerID identifies the application owner and can be shared across multiple files for the same application.

A Note on Manual Editing

The user in this case had already manually edited the .qwc file to strip out the opening XML declaration — a line that begins with <?xml — because it was causing an earlier error. While removing that line resolved the initial problem, it highlights a broader point: .qwc files are sensitive to formatting and content. Hand-editing these files can resolve one issue while masking or introducing another.

When a Web Connector integration fails, the log file is the best diagnostic tool available. It records each step of the connection process and typically names the specific field or value that caused the failure. Users encountering unexplained QBWC errors should locate the log file — usually stored in the same directory as the Web Connector application — and scan it for status messages that reference conversion errors, invalid values, or authentication failures.

Generating a Valid Identifier

Anyone building a .qwc file from scratch or modifying an existing template should verify that both identifier fields contain only the characters zero through nine and A through F, arranged in the standard 8-4-4-4-12 pattern. Free online GUID generators and built-in operating system utilities can produce compliant values instantly. Once the identifiers are corrected, the Web Connector should accept the file and proceed with the normal application-authorization prompt inside QuickBooks Desktop.

← Back to Community Issues