Fragmented Thought

QuickBooks Application Error cluster error resolution

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

By

Published

Lance Gliser

Heads up! This content is more than six months old. Take some time to verify everything still works as expected.

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/### <br />Right: https://qbo.intuit.com/qbo1/resource/vendors/v2/###

There's two ways to resolve this:

  • The hard way, ask which data cluster the client is in using an extra call after authentication.
  • 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/v2/0400_quickbooks_online/0100_calling_data_services/0010_getting_the_base_url

It's then promptly ignored throughout the rest of their documentation. Hope you remember!