Quickbooks Online issue

Quickbooks Online issue

Has anyone successfully connect to Quickbooks Online? I've setup a Connection but when I try to execute:
searchResponse = intuit.quickbooks.searchRecords("Zoho",  "{company ID}" , "SELECT * FROM Customer where DisplayName='Insert Name Here'");

I receive a "401 unauthorized" error. I've checked the Company ID in Quickbooks online several times and it appears to be correct. Could this be due to using a Canadian Quickbooks database?

Thanks!