QuickBooks Application Error "Request failed with code 500: You are accessing incorrect cluster for the specified company, please double check your base URL.-11017SERVER" Resolution

Ran across an error attempting to setup a quickbooks application. After managing to get the developer account testing us authenticated, the actual request to get vendor details was failing with the error message "Request failed with code 500: You are accessing incorrect cluster for the specified company, please double check your base URL.-11017SERVER". Took a minute to figure this out from the developer docs, but the basic idea of the error is this:

You're attempting to access the quickbooks data cluster correctly to get the data you want, but it's connecting to the wrong server. "Sorry Mario, the princess is another castle." For me, it looked like:
Wrong:
https://qbo.intuit.com/qbo32/resource/vendors/v2/###
Right:
https://qbo.intuit.com/qbo1/resource/vendors/v2/###

There's two ways to resolve this:

  1. The hard way, ask which data cluster the client is in using an extra call after authentication.
  2. Use the new static base url provided since version 7!

The new url looks like this: https://qbo.sbfinance.intuit.com/resource/vendors/v2/###

Documentation for this new base url is available at: https://developer.intuit.com/docs/0025_quickbooksapi/0050_data_services/...
It's then promptly ignored throughout the rest of their documentation. Hope you remember!

Tags: 

Add new comment

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
By submitting this form, you accept the Mollom privacy policy.