I am trying to pull the failed records from a bulk job that I have using this API call:
https://COMPANYNAME.my.salesforce.com/services/data/v56.0/jobs/ingest/{jobId}/failedResults
This API call is not pulling anything in Postman, but I am able to pull data if I drop off the failedResults portion of the call.
I know that my results do have failed results from the returned JSON:
{
"id": "{jobId}",
"operation": "upsert",
"object": "Object",
"createdById": "{userId}",
"createdDate": "2022-10-17T05:08:38.000+0000",
"systemModstamp": "2022-10-17T05:09:04.000+0000",
"state": "Closed",
"externalIdFieldName": "{externalId}",
"concurrencyMode": "Serial",
"contentType": "ZIP_CSV",
"apiVersion": 55.0,
"jobType": "Classic",
"numberRecordsProcessed": #######,
"numberRecordsFailed": ##,
"retries": 0,
"totalProcessingTime": ########,
"apiActiveProcessingTime": #######,
"apexProcessingTime": ########
}
Should I be using something else than Postman to make this call or what could I do to pull these failed records?
/services/data/v56.0/jobs/ingest/7507F00000XVC8qQAH/successfulResults/
/services/data/v56.0/jobs/ingest/7507F00000XVC8qQAH/failedResults/
You might want to try workbench and let me know if you are stuck somewhere specifically