QBO - Error: 'An error occurred while executing the query. Please check the stack trace for more detail'

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.

Error

The above error message can occur if you have either ' or & in a company name.

Resolution

Remove any ' in a Company Name

Remove an & in a Company Name

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: Ninjas and Co


P
Paul is the author of this solution article.

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.