QuickBooks Desktop sync error: GetQBCompanyName:exception: System.NullReferenceException: Object reference not set to an instance of an object

Why the sync error occurs

This error occurs when the company name isn't populated in QuickBooks. This error occurs most often after migrating from QuickBooks Online to QuickBooks Desktop.

How to fix the sync error

  1. In QuickBooks, select Menu > Company Information to check for the company name
    • If the company name doesn't appear, enter the name and select Save
    • If the company name does appear, delete the name that appears, reenter the company name, and select Save
  2. Run a sync