Error 80040402 - Unexpected Error

Modified on Sun, 26 Jul at 2:52 AM

Overview

The QQube synchronization log contains Intuit Software Development Kit (SDK) Error 80040402.

Message You May See

Synchronization log message

<<<<<<<<<<<<<<<<<<<<< 10/15/2027 06:44:57 PM >>>>>>>>>>>>>>>>>>>>>
QBXMLSession_ProcessRequest
ProcessRequest
Error Code: 80040402
Unexpected error. Check the "qbsdklog.txt" file for possible additional information.

What the Error Means

Error 80040402 comes directly from the Intuit SDK. It indicates that QuickBooks stopped responding or closed unexpectedly while QQube was communicating with it.

Possible Causes

Possible CauseWhat Happened
The synchronization user was logged outThe Windows session where QQube and QuickBooks run was logged out while synchronization was in progress.
Another QuickBooks application interferedAnother third-party application or backup process attempted to communicate with QuickBooks under the same Windows user while QQube was synchronizing.
The QuickBooks company file is corruptQuickBooks contains an underlying data problem that interrupted the Intuit SDK request.

Resolution

1. Keep the Synchronization User Logged In

QQube synchronization runs under the Windows user where QQube was installed.

  • In a Multi-User Local Network implementation, this is the dedicated server synchronization user identified in the installation guide.
  • In a Remote Desktop or hosted implementation, this is normally the dedicated qqubesynch user.

Do not log out of that Windows session while synchronization is running. You may disconnect from the session instead.

Review the installation and requirements guides when the synchronization user or environment is uncertain.

2. Prevent Other Applications from Accessing QuickBooks

Do not allow another QuickBooks-integrated application to read from or write to QuickBooks under the same Windows user while QQube is synchronizing.

This includes third-party applications and backup programs that interact with the open QuickBooks company file.

3. Rebuild and Reload When Corruption Is Suspected

Follow Rebuild and Verify a QuickBooks Company File. Then perform a complete QQube clear and reload using both:

  • Run All
  • Clear all data on synch start

QQube Configuration Tool showing Run All and Clear all data on synch start

Expected Result

The synchronization user remains active, no competing application interrupts QuickBooks, and the QQube synchronization completes without Error 80040402.

If Error 80040402 Returns

If the same error returns after rebuilding the QuickBooks company file and completing the QQube clear and reload, the company file may require repair by Intuit Data Services.

Collect the Logs Immediately

Do not start another QQube synchronization. The next synchronization overwrites the required information in qbsdklog.txt.

Follow Collecting QuickBooks Logs for Intuit Data Services immediately after Error 80040402 appears. Submit the collected Intuit SDK log and QQube synchronization log to CLEARIFY Support for review.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article