Closed ryanrca closed 3 years ago
Hey @ryanrca,
I'm pretty puzzled by this. I tried fetching results from Postman + Workbench and always get an empty/null response.
Which version was working for you?
Tried forrest v2.5.2 and v2.4.7 as well... and got the same result.
Tried a number of different implementations:
Forrest::jobs('ingest/7503l00000XSzwx/successfulResults/', [
'method' => 'get'
]);
Forrest::get('/services/data/v50.0/jobs/ingest/7503l00000XSzwx/successfulResults/');
Forrest::jobs('ingest/7503l00000XSzwx/successfulResults/');
I am also having this issue.
Unfortunately, @denizaygun this seems like it might possibly be a Salesforce bug. Might have been a coincidence that it started occurring right as forrest v2.5 was released but doesn't seem to work with v2.4 either
Hi @omniphx , thanks for the quick reply.
That's a shame, do you have any workaround suggestions? Would be handy to verify the status of jobs.
I wonder if Bulk API 1.0 has this issue.
I have realised you can get the errorMessage
for a job overall, if the job itself fails, however if there's issues with individual entries then you just won't know as those API endpoints seem to work.
This issue seems to be present in the Salesforce CMS itself too, as when records fail, you're only told the number that have failed and not why.
Hi! I used to be able to call these methods to get the results of finished jobs:
When I upgraded to Forrest v2.5.3 (Thank you for addressing this, BTW), I no longer get error information.
So now after I push a new CSV job, if there are errors, the above results always return
null
:Here's the output of my script:
0/4 records failed, but no details stats are returned.
Thanks!