Salesforce CLI v2.138.6 (plugin-org v5.11.6, released June 3, 2026) introduced an internal Tooling API query against SandboxInfo that references the PostCopyConfig field. This field is part of a new platform feature being delivered in Build 264 and has not yet been deployed to all Salesforce instances. Orgs hosted on instances that have not yet received Build 264 do not have this field, causing the CLI's internal query to fail.
Note: PostCopyConfig is not a user-configurable option it is injected by the CLI internally. This issue occurs even when the sandbox definition file does not contain a postCopyConfig key
Error Message:
ActivationUserGroupId,Features,PostCopyConfig FROM SandboxInfo
ERROR at Row:1:Column:215 No such column 'PostCopyConfig' on entity 'SandboxInfo'. If you are attempting to use a custom field, be sure to append the '__c' after the custom field name. Please reference your WSDL or the describe call for the appropriate names.
Downgrade the Salesforce CLI to a version prior to v2.138.6. To update to a specific CLI version, run:
sf update --version <previous-version>
(or)
Or install a previous stable version from the Salesforce CLI Releases page.
005387707

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.