function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Bhawani SharmaBhawani Sharma 

Salesforce & Quickbook Integration

Hi,

I am trying to integrate Salesforce with Quickbooks. I have successfully completed the authorization part and I have authorized secret key and token. Now issue is coming when I am trying to call QB APIs:
I am trying to call "Read Account"  api:
Endpoint: https://qb.sbfinance.intuit.com/v3/company/XXXXXXXXXX/account/1
XXXXXXXXXX = CompanyId

and following error is coming:
<IntuitResponse xmlns="http://schema.intuit.com/finance/v3" time="2014-11-11T12:53:14.076Z" requestId="47869c5ecc2442c4bbc15d4906aab328">
    <Fault type="VALIDATION">
        <Error code="7001">
            <Message>message=No destination found for given partition key; errorCode=007001; statusCode=400</Message>
        </Error>
    </Fault>
</IntuitResponse>



I read about this error nline and everyone says that "you need to update base URL to point sandbox". But I couldn't find where this need to be updated in Salesforce.
Can someone please help me to if you have done something similar?

Regards,
Bhawani Sharma
Best Answer chosen by Bhawani Sharma
Bhawani SharmaBhawani Sharma
This has been resolved. Was an endpoint issue.

All Answers

Bhawani SharmaBhawani Sharma
This has been resolved. Was an endpoint issue.
This was selected as the best answer
fahad munawar khanfahad munawar khan
hi Bhawani Sharma-
Could you please be kind to share how did you generate the oauth token. i mean i wan to know the actual api call including the headers. i would be grateful to you for that
Thanks
Fahad