Salesforce DML Exception Cannot have more than 10 chunks

5K views Feb 27, 2023

Exception: System.TypeException: Cannot have more than 10 chunks in a single operation. Please rearrange the data to reduce chunking. This exception is thrown when List sObject variable has more than 10 records of different types in a mixed fashion of multiple objects. Blog Post: https://www.infallibletechie.com/2023/02/salesforce-dml-exception-cannot-have-more-than-10-chunks-in-a-single-operation.html

#Internet Software