When Salesforce runs Opportunity Territory Assignment (OTA), opportunities are processed in batches. If an error occurs in a particular batch, all opportunities within that same batch are rolled back — not just the one that caused the error. This rollback behavior mirrors how an allOrNone = true setting works on a database.update Apex DML operation. Opportunities in other batches that did not encounter an error are not affected. Currently, there is no way to override this all-or-nothing batch behavior in Opportunity Territory Assignment.
This behavior is by design. The Opportunity Territory Assignment process uses batch processing where each batch operates as an all-or-none transaction. There is currently no configuration option or workaround to override this rollback behavior.
To reduce the impact of batch rollbacks during territory assignment:
000384307