Intuit Developer Now Offers QuickBooks Sandboxes

On Wednesday, October 22nd, we launched a brand new developer experience at QuickBooks Connect. Over the next few weeks, we’ll be sharing details about all the great new features we launched, but today’s topic is sandboxes and app tokens.  We previewed some details Sunday night, but we now want to share some more details about the new QuickBooks sandbox.

QuickBooks Sandbox

Previously, we provided you with 1 year developer subscriptions for QuickBooks Online for US, UK, AU and CA with no sample data included.  With the new developer experience, you now have a ready-to-use US-based sandbox company for your development and testing purposes which includes sample data. 

We will continue to provide 1 year developer subscriptions for QuickBooks Online for UK, CA and AU and plan to enable sandboxes for these countries in future.

App Tokens

With the introduction of sandboxes, there have been some changes to app tokens.  Previously, your development app tokens could connect to any kind of QuickBooks Online account – trial subscriptions, paid subscriptions, or 1 year developer subscriptions.  You can now only connect your development app tokens to your single US sandbox.  There is no limit on the number of connections to your sandbox from your development app token.

To create a sandbox, please go to https://developer.intuit.com/ and sign in. At the bottom of the page, there is a link for QuickBooks sandbox. Just click on it and you will be set. You can manage your sandbox here.

To test your application against any kind of existing QuickBooks Online account, including your existing trial or 1 year developer subscription, you must switch your application to use production app tokens.  If you do not do this, you will get the following error:

Error code : invalid_database. Error message : Development application can only subscribe to sandbox company. No sandbox company found Error Id :

To summarize, development app tokens will work only for sandbox companies and production app tokens will work for all other cases. You do not need to publish your application to use your production app tokens.

URI Endpoints for QuickBooks Online API

Previously, the base url for QuickBooks Online was already configured in the SDK: https://quickbooks.api.intuit.com/. However, to access a sandbox company from your application, you need to change base url for QuickBooks Online calls to- “https://sandbox-quickbooks.api.intuit.com/”; 

If you do not make the change for base url for sandbox, you will get the following error-

Error code 7001: “message=No destination found for given partition key; errorCode=007001; statusCode=400”

Have questions? Please post a question in our forums.






12 responses to “Intuit Developer Now Offers QuickBooks Sandboxes”

  1. nimisha Shrivastava Avatar

    Hi Amailey,

    For .Net SDK, you can use this-
    ServiceContext context = new ServiceContext(appToken, realmId, IntuitServicesType.QBO, oauthValidator);
    context.IppConfiguration.BaseUrl.Qbo = “https://sandbox-quickbooks.api.intuit.com/”;

    Note:If the above is not set, then the default baseURL- https://quickbooks.api.intuit.com is used.

    1. Nilesh Avatar

      Hi Nimisha,

      Thanks a lot for solution. I’m looking for solution of this issue and your solution works perfectly.

  2. ssagar@commdel.net Avatar

    Please suggest me, how would I change the base url from https://quickbooks.api.intuit.com to https://sandbox-quickbooks.api.intuit.com in javaSDK.
    I am using v3 2.3.1 version

  3. Manas Mukherjee Avatar

    For Java, please use the following
    Config.setProperty(Config.BASE_URL_QBO, “https://sandbox-quickbooks.api.intuit.com”);


    1. Karthick Avatar

      what is the library file to use Config.setProperty(……,”…”)?

  4. Bill Heitstuman Avatar

    Its odd, today I discovered that I could not renew our access token; the Intuit site displayed error “Development application can only subscribe to sandbox company. No sandbox company”. It turns out that our old production keys were assigned to our new development sandbox and new keys were issued for our production environment.
    It was an easy fix (just replace the keys) but hard to discover what happened.

  5. Manas Mukherjee Avatar

    Java SDK configuration for sandbox.

    Config.setProperty(Config.BASE_URL_QBO, “https://sandbox-quickbooks.api.intuit.com/v3/company”);

  6. Juan Dimmer Avatar
    Juan Dimmer

    How do I change this for the PHP SDK?

  7. Tristan Sokol Avatar
    Tristan Sokol

    For the PHP SDK, you should change the sdk.config file to use the new base URL https://sandbox-quickbooks.api.intuit.com/ instead of https://quickbooks.api.intuit.com/ Thanks!”

  8. Tristan Sokol Avatar
    Tristan Sokol

    Hi Juan,
    For the PHP SDK you need to edit the sdk.config file to use the new base url https://sandbox-quickbooks.api.intuit.com/ instead of https://quickbooks.api.intuit.com/. Thanks!

  9. testktqb@gmail.com Avatar

    While connecting to QB
    Getting ‘no sandbox companies found for user’ error, when using development app tokens

Leave a Reply

Your email address will not be published. Required fields are marked *