All accounts must have the same current owner and new owner. INVALID_FIELD error occurs when updating Account Owners with OwnerChangeOptions using API
Salesforce says this works as designed.
Summary
When an attempt is made to update the Account Owner of multiple Accounts in a single transaction (Account Owner for each Account is different i.e for Account A, the new Account Owner is X and for Account B, the new Account Owner is Y) with KeepAccountTeam added to OwnerChangeOptions header, the following error is thrown
All accounts must have the same current owner and new owner. INVALID_FIELD
OwnerChangeOption header with KeepAccountTeam is used to retain Account Team when changing Account Owner
https://help.salesforce.com/s/articleView?id=000356200&type=1
All accounts must have the same current owner and new owner. INVALID_FIELD
OwnerChangeOption header with KeepAccountTeam is used to retain Account Team when changing Account Owner
https://help.salesforce.com/s/articleView?id=000356200&type=1
Workaround
We haven't loaded the full details for this issue yet. Check the official page.
History
First tracked here as Working as Expected with 11 reports
Nov 30, 2026
Also open in Accounts & Contacts
Metadata API does not retrieve custom picklists values for the Record Types from Contact object as part of Person Account.
In ReviewSales / Accounts & ContactsSpring '12Reported Jan 8, 202051 reports51reports
Unable to view all records in hierarchy when records with the same parent have identical names
In ReviewSales / Accounts & ContactsReported Jan 4, 202120 reports20reports
Buyer Relationship Map is enabled after Summer '24 Release
Solution ScheduledSales / Accounts & ContactsSummer '24Reported Jul 22, 202419 reports19reports
New completed Task showing as overdue on first navigation to Task
In ReviewSales / Accounts & ContactsSpring '23Reported Dec 23, 202214 reports14reports