+ Start a Discussion
Dhruv KadiaDhruv Kadia 

Does SalesforceBulk generates error and success file for the new inserted records?

I am using Salesforce API for Python. How can i get a success and an error file after adding the new records(more than 50 records) in salesforce so that i can use the salesforce id of the new records later in my code? 
SandhyaSandhya (Salesforce Developers) 
Hi,

If you are using salesforce-bulk Python library, you can look for file 

https://github.com/heroku/salesforce-bulk/blob/master/salesforce_bulk/salesforce_bulk.py

Refer below link that may help you .

https://salesforce.stackexchange.com/questions/185403/how-to-get-error-reason-for-bulk-requests-with-failed-records-via-api
 
Please mark it as solved if my reply was helpful. It will make it available for other as the proper solution.
                                             
Best Regards
Sandhya