Skip to content

sf org create sandbox --source-sandbox-name fails when cloning org with Sandbox Data Storage Upgrades #3293

@soileaud

Description

@soileaud

Summary

Cloning developer sandboxes that use the upgraded 400MB storage feature from the cli fails with Invalid Inputs: You must specify the Features that were added to the sandbox being cloned.

Steps To Reproduce

  • Create a sandbox using the 400MB upgrade
  • Optional: Confirm feature value using tooling api query SELECT SandboxName, Id, Features FROM SandboxInfo --> Should be ["SandboxStorage"]
  • Run command sf org create sandbox --target-org PROD --name newSandBoxName --source-sandbox-name oldSandoxName

Expected result

Sandbox creation should be queued in prod org as a clone of source sandbox

Actual result

Error (1): Invalid Inputs: You must specify the Features that were added to the sandbox being cloned.

Additional information

Would be nice if sandbox definition files supported including this feature for net new sandboxes, but even if that is added it should not be required when cloning.

System Information

{
  "architecture": "darwin-arm64",
  "cliVersion": "@salesforce/cli/2.88.6",
  "nodeVersion": "node-v22.15.0",
  "osVersion": "Darwin 24.4.0",
  "rootPath": "/Users/soileaud/.local/share/sf/client/2.88.6-85f5a40",
  "shell": "zsh",
  "pluginVersions": [
    "@oclif/plugin-autocomplete 3.2.28 (core)",
    "@oclif/plugin-commands 4.1.25 (core)",
    "@oclif/plugin-help 6.2.28 (core)",
    "@oclif/plugin-not-found 3.2.51 (core)",
    "@oclif/plugin-plugins 5.4.37 (core)",
    "@oclif/plugin-search 1.2.24 (core)",
    "@oclif/plugin-update 4.6.39 (core)",
    "@oclif/plugin-version 2.2.28 (core)",
    "@oclif/plugin-warn-if-update-available 3.1.39 (core)",
    "@oclif/plugin-which 3.2.35 (core)",
    "@salesforce/cli 2.88.6 (core)",
    "apex 3.6.17 (core)",
    "api 1.3.3 (core)",
    "auth 3.6.118 (core)",
    "data 4.0.30 (core)",
    "deploy-retrieve 3.22.9 (core)",
    "info 3.4.59 (core)",
    "limits 3.3.53 (core)",
    "marketplace 1.3.8 (core)",
    "org 5.7.5 (core)",
    "packaging 2.13.3 (user) published 5 days ago (Sat May 10 2025)",
    "schema 3.3.61 (core)",
    "settings 2.4.27 (core)",
    "sobject 1.4.55 (core)",
    "telemetry 3.6.40 (core)",
    "templates 56.3.46 (core)",
    "trust 3.7.87 (core)",
    "user 3.6.20 (core)",
    "sfdmu 4.38.0 (user) published 137 days ago (Sun Dec 29 2024)",
    "sfdx-browserforce-plugin 4.7.0 (user) published 57 days ago (Wed Mar 19 2025)",
    "sfdx-git-delta 6.7.0 (user) published 3 days ago (Mon May 12 2025)",
    "sfdx-hardis 5.34.1 (user) published 0 days ago (Thu May 15 2025)",
    "sfdx-plugin-source-read 1.5.1 (user) published 57 days ago (Wed Mar 19 2025)",
    "texei-sfdx-plugin 2.8.3 (user) published 66 days ago (Mon Mar 10 2025)"
  ]
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIssue or pull request that identifies or fixes a bugvalidatedVersion information for this issue has been validated

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions