Looping through CSV and updating object results in DB API Error
We have a CSV with 10,000 rows. We loop through each one and depending on whether it exists as a CO, we either update or insert the record. There are about 20 columns.
At around 230 rows, we get the error
Exception: line 222: Cannot save/update: NameCustomObject(ID=14239): DB API Error
Is there any setting we need to adjust or any workaround?