Skip to content
Bug Barometer

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

Workaround

We haven't loaded the full details for this issue yet. Check the official page.

History

  1. First tracked here as Working as Expected with 11 reports

    Nov 30, 2026

Also open in Accounts & Contacts