Loading
ただいま大変多くのお問い合わせをいただいており、ご連絡までにお時間を頂戴しております続きを読む

sf org create sandbox fails with "No such column 'PostCopyConfig' on entity 'SandboxInfo'" in Salesforce CLI v2.138.6+

公開日: Jun 26, 2026
説明

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

 
読み込み中
Salesforce Help | Article