DataLoadQueue unreviewedFailed count does not match with DataLoadQueue.errors()


#1

Hi,

While we are trying to load the data, we seem to have come across some errors in DataLoadQueue, which is approx 300,000, so I believe the entire dataset failed, but when I try and fetch DataLoadQueue.errors() I see only 10 records.
How is this possible? How does errors() behave internally?

On the same note, how do I review unreviewedFailed errors?

Thanks.


#2

to show all errors I think you should use this syntax where the third parameter is the limit

DataLoadQueue.errors(null,null,-1)


#3

Thank you @marcosordi, I am able to fetch the rest of the records that way.
-1 would have killed it, so checked with just 100 and it works. :smile: