Connection (OAuth) flow problems
Company selector does not show QuickBooks companies
The company selector (realm picker) window does not display the user’s QuickBooks companies, so the user cannot connect to a QuickBooks company.
Check the following:
Domain does not match
When the user connects to a QuickBooks company, the following message appears in a red bar at the top of the company selector page: “The web-site domain of the application requesting access to your Intuit data does not match what we have on file. Please proceed at your own risk.”
Work within your app’s Development tab to edit settings: make sure the domain in the URL fields match the domain in the Host domain field.
Domain check fails during OAuth
When the user connects to their QuickBooks company, the following message appears:
Edit settings within your app’s Development tab to make sure that the host name in the Launch URL field matches that in the
setup() function. The following code snippet calls
example.com as the host name:
1 2 3 4 5
OAuth Context Missing
The company selector (realm picker) displays the following error message:
This error might occur if the OAuth access token secret is corrupt or otherwise invalid. In this case, tell the user to connect to QuickBooks again. If this problem occurs during development, your code that gets the OAuth access token might have a bug.
Invalid OAuth Access Token
The OAuth access token is invalid if it has expiredor if the app has been disconnected from the QuickBooks company.
1 2 3 4 5 6
<?xml version="1.0" encoding="utf-8"?> <PlatformResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://platform.intuit.com/api/v1"> <ErrorMessage>OAuth Token rejected</ErrorMessage> <ErrorCode>270</ErrorCode> <ServerTime>2011-11-23T17:15:27.21097Z</ServerTime> </PlatformResponse>
Oauth Invalid Signature
The QuickBooks Online API returns an error code 401 with the following response:
1 2 3 4 5 6
<?xml version="1.0" encoding="utf-8"?> <PlatformResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://platform.intuit.com/api/v1"> <ErrorMessage>Invalid Signature</ErrorMessage> <ErrorCode>401</ErrorCode> <ServerTime>2011-11-23T17:15:27.21097Z</ServerTime> </PlatformResponse>
The OAuth spec calls for lexicographical byte value ordering (capital letters come before lowercase).
DB Limit Exceeded
User sees the following error message during the OAuth flow, using either development or production access tokens when app is in a pre-published state:
Disconnect all/some of development connections. This can be done through the Disconnect API.
QuickBooks Online data access problems
You receive the following error message when test your app.
To test your application against any kind of existing QuickBooks account, including your existing trial or one year developer subscription, you must switch your application to use production app tokens.
URI endpoints for QuickBooks Online API
You receive the following error message when testing your app with development keys:
Error code 7001: “message=No destination found for given partition key; errorCode=007001; statusCode=400″
You must use the URI endpoint corresponding to the sandbox:
The QuickBooks Online API endpoint base URLs to use in data operations are: