QuickBooks Online error message: 'An error occurred while executing the query. Please check the stack trace for more detail'.
Details Logging or Stack Trace is only available when API Logging is enabled, please refer to How to enable API Logging for more information on enabling this feature.
The above error message can occur if you have either ' or & in a company name.
Remove any ' in a Company Name
Remove an & in a Company Name
Sync the records again.
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: Ninjas and Co