• Tu Nguyen 10
  • NEWBIE
  • 0 Points
  • Member since 2015

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

We started receiving an exception while trying to invoke the Bulk API to create a job in our Sandbox.  We haven't had any issues before until now.  Our code is unchanged since the last time we touched it.  I was able to capture the request as well as the response.  The call to the SOAP service to log in works fine and returns a sessionID, but when we build the request to create a job it returns the 400 Bad Request response.  Once I stream the response out to get the details I get the following:

  <?xml version="1.0" encoding="UTF-8"?><error
   xmlns="http://www.force.com/2009/06/asyncapi/dataload">
 <exceptionCode>Unknown</exceptionCode>
 <exceptionMessage>Unknown exception in Async API. Please contact support with ID: 1190435897-34246 (361211693)</exceptionMessage>
</error>

Here is the request string we submit, nothing has changed here:
<?xml version="1.0" encoding="UTF-8"?>
    <jobInfo xmlns="http://www.force.com/2009/06/asyncapi/dataload">
        <operation>query</operation>
        <object>Account</object>
               
        <contentType>CSV</contentType>
    </jobInfo>

I've verified the endpoint that it is hitting as well, nothing has changed here either.
https://cs9-api.salesforce.com/services/async/31.0/job

I've checked permissions on the Salesforce objects to verify select access, I've tried a couple of different user credentials in place of our API user that we set up with no luck.  Any help would be appreciated.
Hi,

We started receiving an exception while trying to invoke the Bulk API to create a job in our Sandbox.  We haven't had any issues before until now.  Our code is unchanged since the last time we touched it.  I was able to capture the request as well as the response.  The call to the SOAP service to log in works fine and returns a sessionID, but when we build the request to create a job it returns the 400 Bad Request response.  Once I stream the response out to get the details I get the following:

  <?xml version="1.0" encoding="UTF-8"?><error
   xmlns="http://www.force.com/2009/06/asyncapi/dataload">
 <exceptionCode>Unknown</exceptionCode>
 <exceptionMessage>Unknown exception in Async API. Please contact support with ID: 1190435897-34246 (361211693)</exceptionMessage>
</error>

Here is the request string we submit, nothing has changed here:
<?xml version="1.0" encoding="UTF-8"?>
    <jobInfo xmlns="http://www.force.com/2009/06/asyncapi/dataload">
        <operation>query</operation>
        <object>Account</object>
               
        <contentType>CSV</contentType>
    </jobInfo>

I've verified the endpoint that it is hitting as well, nothing has changed here either.
https://cs9-api.salesforce.com/services/async/31.0/job

I've checked permissions on the Salesforce objects to verify select access, I've tried a couple of different user credentials in place of our API user that we set up with no luck.  Any help would be appreciated.