Error
An error occured while executing the query.
Please check the stack trace for more detail.
Applies to: ConnectWise, QuickBooks Online
How can this happen?
The above error message can occur if you have either an apostrophe (') and/or ampersand (&) in a Company Name.
Solution
Remove any apostrophe (') and/or ampersand (&) from the Company Name of the record/s you're syncing.
Sync the records again.
Example
Company Name: Ninja's & Co.
The record will not sync to QuickBooks Online and you will receive: 'An error occurred while executing the query. Please check the stack trace for more detail'.
You will need to change the Company Name to Ninjas and Co