• Venkat Rangan
  • NEWBIE
  • 0 Points
  • Member since 2014

  • Chatter
    Feed
  • 0
    Best Answers
  • 1
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 0
    Replies
Hi,

Our application (non force.com) issues Salesforce REST API calls that queries Opportunity and OpportunitySplit objects which performs well on North America instances (2-5 sec. response time). But when we target an EMEA instance, performance drops significantly to 60-90 seconds per API.

Any reason why this might happen.

Thanks!
Hi,

I am following the example here for getting started on Bulk API.

https://developer.salesforce.com/docs/atlas.en-us.api_asynch.meta/api_asynch/asynch_api_jobs_create.htm?language=en

The Job Creation XML is sent using a HTTP POST where the Authorization Header has the Bearer: <OAuth Token>

The response I get is:

<?xml version="1.0" encoding="UTF-8"?><error
   xmlns="http://www.force.com/2009/06/asyncapi/dataload">
<exceptionCode>InvalidSessionId</exceptionCode>
<exceptionMessage>Unable to find session id</exceptionMessage>
</error>

Where can I specify the Session ID for the Create Job call to succeed?

Just for reference, the XML that is posted (per example) is:

<?xml version="1.0" encoding="UTF-8"?>
<jobInfo
   xmlns="http://www.force.com/2009/06/asyncapi/dataload">
<operation>insert</operation>
<object>Account</object>
<contentType>CSV</contentType>
</jobInfo>

Thanks!


Hi,

I am following the example here for getting started on Bulk API.

https://developer.salesforce.com/docs/atlas.en-us.api_asynch.meta/api_asynch/asynch_api_jobs_create.htm?language=en

The Job Creation XML is sent using a HTTP POST where the Authorization Header has the Bearer: <OAuth Token>

The response I get is:

<?xml version="1.0" encoding="UTF-8"?><error
   xmlns="http://www.force.com/2009/06/asyncapi/dataload">
<exceptionCode>InvalidSessionId</exceptionCode>
<exceptionMessage>Unable to find session id</exceptionMessage>
</error>

Where can I specify the Session ID for the Create Job call to succeed?

Just for reference, the XML that is posted (per example) is:

<?xml version="1.0" encoding="UTF-8"?>
<jobInfo
   xmlns="http://www.force.com/2009/06/asyncapi/dataload">
<operation>insert</operation>
<object>Account</object>
<contentType>CSV</contentType>
</jobInfo>

Thanks!