This happens when:
You renamed your company file, moved it to a different location, or it doesn’t work with the third-party app.
QuickBooks Web Connector isn't configured to run when QuickBooks is closed.
If you renamed or moved your company file
Rename your company file to the previous file name.
After you’re done, you may need to contact your app’s support team and ask them to update their file location to match yours.
If you haven't already, configure Web Connector to run when QuickBooks is closed
Sign in to QuickBooks as the Admin user.
If QuickBooks is on Multi-user mode, go to the File menu, then select Switch to Single-user Mode.
From the Edit menu, select Preferences.
Select Integrated Applications, and then select the Company Preferences tab.
Select the third-party app.
Check Allow this application to log in automatically.
In the Authorization window, select YES.
Select User to log in, then OK.
Even after following the above steps still, you get the same error then uninstall the present version of Web Connector and download the latest version.
To download the latest version of Web Connector please find the below link.