Bulk API is based on REST principles and is optimized for loading or deleting large sets of data. You can use it to query, insert, update, upsert, or delete a large number of records asynchronously by submitting batches which are processed in the background by Salesforce.

learn more… | top users | synonyms

2
votes
0answers
24 views

Unsupported Content Type while using curl

We are currently working on with bulk api to load json data's into salesforce.But unfortunately we are not able to load it and getting error as unsupported content type does salesforce ...
4
votes
1answer
19 views

Bulk API Row Lock Root

How to get confirmation that Inserts/Deletes of Contacts using the Bulk API will cause Row Lock errors on the parent Accounts, especially if the # of Contacts is large and there are few parent ...
0
votes
0answers
12 views

Is Salesforce supports or provides Bulk API for SAP? Any experts suggestions please

Bulk API documentation has given sample code in Java. We have a need where we need to load huge volume of data from SAP to Salesforce. Had tried using SOAP and RESTful services but ended with hitting ...
0
votes
1answer
11 views

which api does dataloader uses when bulk api is not checked? What is the default API?

Which api does dataloader uses when bulk api is not checked? What is the default API ? I could see explanation for using BULK API in dataloader, but what to know which api is used in default?
1
vote
1answer
26 views

Loading 1 million records using bulk API: Exceeding batch Limit

Whenever records are inserted in Contacts(usually inserted in 1000's), we have a batch job that checks related customer account in SFDC and populates the contact.accountId field and couple other ...
0
votes
0answers
28 views

Advanced Data Export/Import with Bulk API

I have a task to export data for about 60 Salesforce users then to edit them and import it back again. I am not allowed to use specialised web sites for data export/import where you provide user/pass ...
2
votes
1answer
20 views

OpportunityFieldHistory timestamp and bulk API

I've turned on opportunity field history tracking for a couple of fields and can successfully query for changes using the bulk API. However, it looks like the OpportunityFieldHistory object doesn't ...
3
votes
1answer
27 views

Streaming Comet Client didn't receive events for data added using Bulk API?

I have Streaming comet client with a Pushtopic to an custom object Business__c (the pushtopic is enables with insert,updates and delete events). The comet client doesn't generate events based on ...
1
vote
0answers
36 views

Process Builder Flow fails when using BulkAPI

I have created a simple flow in Process Builder. The flow works fine for all scenarios that I test manually by updating Objects. However, when I use the BulkAPI with a large amount of records (100+) I ...
5
votes
1answer
121 views

A Few API Related Doubts

My first is related to Enterprise WSDL vs Partner WSDL. I know the basic difference between two: tightly coupled vs loosely coupled, one is tied to specific organization while other is used to build ...
0
votes
0answers
20 views

Scheduled data import in Salesforce from a folder/database

My current customer is working on a differen CRM and they upload data in the CRM on daily basis (though an automated scheduled job). To achieve this, there is a middleware in place that exports and ...
1
vote
1answer
43 views

Getting Bulk API details from my.salesforce.com organization

I am trying to query a BULK API Job for its status. My organization's URL ends in my.salesforce.com (e.g. https://.my.salesforce.com) but I cannot figure our the correct URL to get the job status. I ...
0
votes
0answers
28 views

Bulk Api Http 500 Server Error at Login

I am working to implement a Luigi module for connection to and query from Salesforce. I have been following the Salesforce Bulk Api Developer's Guide. The following is a portion of my code (which is ...
0
votes
1answer
45 views

Bulk Retreive: Rest API - SF Marketing Cloud

I need to pull various data from Salesforce Marketing Cloud (ExactTarget) including subscriber information, last open, last click, success rate (opens/total eligible campaigns), first bounce date, and ...
1
vote
1answer
24 views

Object/FieldPermissions objects have field SObjectType, how can values be greater than 40 characters?

I am currently in the process of working on a replication application to pull data down from Salesforce via the Bulk API and push data into an Enterprise Data Warehouse. The schema is pulled for ...
2
votes
1answer
20 views

Package Version Settings for Bulk API?

Is there any way to specify Package Version Settings when uploading data via the Bulk API? I am familiar with the capabilities with the SOAP API but need to find something similar for the Bulk API. ...
0
votes
1answer
53 views

Sporadic Bulk API error with PKChunking - Failed to create batch, since the Job is not Open

Sometime when retrieving the batch results for a Bulk API query job submitted with PK chunking enabled, I get the following error message: PKChunking failed. InvalidJobState : Failed to create ...
2
votes
2answers
120 views

Query Bulk Data Load Jobs once completed

Can some one tell how to query the data which are displayed in " Monitor Bulk Data Load Jobs" Section "Completed last 7 days"
2
votes
2answers
166 views

BulkAPI vs Dataloader?

I have never worked on handling large datasets and reading through the documentation raised the below questions in my mind: 1) If I need to load 10,000,000 (10 million) records into salesforce, Can I ...
3
votes
1answer
185 views

Create OrderItem (Order Product) from Bulk upload Object

I have created a Custom Object called CSVUpload__c that I insert a CSV file into using the Bulk API. I have created a trigger to then insert into the correct sObjects after the insert. However, I ...
1
vote
1answer
37 views

How to update membership object from product after insert?

I am using the bulk api to upload a CSV file to a custom object with the same fields as my CSV file. I then use an 'after insert' trigger to insert the data from the CSV custom object into the proper ...
0
votes
1answer
58 views

Bulk API - Invalid field 'Revision' on FeedItem

I query FeedItem on all fields using Bulk-API. This is the query: SELECT Id, ParentId, Type, CreatedById, CreatedDate, IsDeleted, LastModifiedDate, SystemModstamp, Revision, LastEditById, ...
2
votes
1answer
44 views

Bulk query CampaignMemper query failed

I am running into the following error while querying CampaignMember: -------------- Failed ----------CampaignMember [BatchInfo id='751c0000001HqUQAA0' jobId='750c0000001Mpg1AAC' state='Failed' ...
0
votes
1answer
35 views

Downloading all lead data through oAuth2 API

Completely new to the Salesforce API. I'd like to simply download all lead and contact information from a connected user's account - that is, anything which has an "Email" field. I've only briefly ...
1
vote
1answer
151 views

Bulk API and load into Multiple Objects from single CSV file

I'm extremely new to salesforce and Bulk API. I've search for a possible solution for a couple of days, but haven't had any luck. I'm using the java examples for the bulk api load that I found here, ...
1
vote
0answers
29 views

Get API URL for BulkConnection

Is there a "right" way to get the correct endpoint for establishing a BulkConnection (force-ws.jar)? I'm calling an external app from a visualforce page (already authenticated, passing session & ...
0
votes
0answers
103 views

Bulk API PK Chunking retrieving batch information issue

I am working on PK Chunking using Bulk APIs. I have added the header but it seems that the process is stuck in a loop. The job state in the Not processed state when printed [Under ...
4
votes
1answer
115 views

Bulk data API: How to Avoid Upserts

I'm working on an daily integration of about 5 million records (file delta's is not an option). Best practices for large data volumes recommends avoiding upserts. The only alternative solution I can ...
2
votes
1answer
89 views

Salesforce Async API not enabled even if enabled on Enterprise edition

I'm facing this issue on a customer enterprise edition. He's a system administrator and I checked his profile both in backend and through salesforce ui, and both are enabled (PermissionsApiEnabled ...
3
votes
1answer
73 views

Force.com CLI bulk query returns nothing

I have submitted a simple query using the Force.com CLI like so: will@mint ~ $ force bulk query CallRecord__c "select Account__c, CallFlow__c from CallRecord__c" Query Submitted To retrieve query ...
0
votes
1answer
78 views

Bulk query help

I am trying to get my bulk query up and running to get data from our salesforce account. I have looked up a lot of examples since salesforce fails to give a java example for a bulk query. None of ...
2
votes
1answer
334 views

bulk api java.net.SocketException: Connection reset

Am trying to read 8 million records with only 1 column (ID) using Bulk API without PK chunking. while reading I am continuously getting Connection reset exception : java.net.SocketException: ...
0
votes
1answer
76 views

Need Sample code to user BULK API with XML format

Can someone share or point me to BULK API JAVA sample code for XML format . I can see the JAVA example for csv format in below link. ...
2
votes
1answer
206 views

Modify Case Date/Time Opened Field on Upload

I'm trying to import some historical case data into our SalesForce account either through Bulk API or through Data Loader tool. I need to have the field "Date/Time Opened" under the new cases I am ...
0
votes
1answer
48 views

login call BULK API

I am bit confused here. I have been going through the BULK API document and got confused on few things. It says All HTTP requests must contain a valid API session ID obtained with the SOAP API ...
1
vote
1answer
203 views

BULK API reader with PK chunking enabled : Multiple batches are created in salesforce side with 0 rows processed

I have object with 100,000 records. And trying to read from Salesforce using PK chunking with 50,000 as chunk size. I expect two batches , each with 50,000 records. but what i noticed is 361 batches ...
0
votes
1answer
130 views

How to get reportType for many reports

I'm currently getting some basic information regarding all of my reports like so: SELECT Id, Name FROM Report I have around 5000 reports. I'd like to be able to get the type of report as well ...
1
vote
0answers
143 views

BULK API -PK Chunking Header Query - job content type : application/xml

Is it possible to use PK Chunking Header for a Query job of type XML. It works with CSV and when i pass it for xml jobs it fails and gives this error InternalServerError : PKChunking failed. ...
2
votes
1answer
78 views

is there a way to be notified or poll for Salesforce API sobject changes?

We've been using v33.0 to download all the data from our Salesforce account. Today, we found out that one of the SObject got deprecated in v34.0 because the API threw HTTP 400 error and we wasted some ...
1
vote
1answer
71 views

How to set “MailingAddress” (address type) field on contact through Bulk API?

I'm having problem setting the "MailingAddress" field on Contact sObject. I'm trying with the following: <?xml version="1.0" encoding="UTF-8"?> <sObjects ...
3
votes
1answer
65 views

Identify salesforce schema changes

I am backing up Account, Leads, Opportunities and Document objects. Initial level backup is full where I download using BULK API and then incremental subsequently. If there is a change in the schema ...
0
votes
0answers
57 views

What API/SDK to use for querying Exact Target data?

I have a requirement to query and extract the Exact Target data in bulk. I want to be able to get this data in chunks for large volumes of data. There is also a requirement to limit the number of rows ...
2
votes
1answer
105 views

Bulk data update in Salesforce from External System

I have got a requirement to update 6k records in Salesforce from external system in every 4 hours. Can you please suggest what would be best way for this . 1) Should I use the standard Bulk API ? ...
1
vote
1answer
245 views

Bulk Querying AccountFeed results in Binary field not supported error

While running the Bulk export in Java in CSV format, I get an error while the XML does not return error. I tried documentation which does not yield any results. Can I get specific error that relates ...
4
votes
1answer
140 views

How many batches can be created in a JOB via Bulk API?

I went through limitations about Bulk API but could not get explanation on the limit of Batches created per job in Salesforce. I can read Batch limitation but no limitation in Job. Your help is ...
2
votes
2answers
226 views

INVALID_ID_FIELD when upserting an attachment through Bulk API

The situation is as follows: In my Salesforce org, I have a contact, let's call it Humpty Dumpty, and I'd like to attach a file to it, let's call it cooking.txt, but there are some rules: If there ...
2
votes
2answers
108 views

Bulk Import Leads From SQL Table and store leads id back into table

I need to bulk import leads from sql server table, get back the newly created leadid and store them back on sql table. I read documentation on salesforce bulk api. Salesforce returns a response with ...
1
vote
1answer
251 views

Import CSV into Salesforce (Group Edition) automatically

I'd like to import CSV file into Salesforce automatically, e.g. once a day. I can't use Data Loader (Bulk API), because I don't have the needed edition. Is there any other, simple way?
0
votes
1answer
100 views

Find objects that are supported through Bulk API

I am querying through a list of objects through salesforce and some of the objects are not supported through bulk api. For example, AcceptedEventRelation. Is there a way to check if the objects are ...
0
votes
2answers
147 views

BulkAPI error while uploading multiple attachments

I am trying to upload multiple attachments using Bulk API. I am using createBatchFromDir( ) for creating the Batch & using the sample code provided in the sfdc documentation at the link:- ...