Skip to content

sf org create sandbox fails when sandbox-def.json includes "features": [ "SandboxStorage" ] #3479

@tggagne

Description

@tggagne

Summary

sf org create sandbox fails when def.json includes "features": [ "SandboxStorage" ]

Steps To Reproduce

  1. sandbox-def.json
{
  "activationUserGroupName": "Developers",
  "autoActivate": true,
  "description": "created for core development",
  "features": [ "SandboxStorage" ],
  "licenseType": "Developer"
}
  1. sf org create sandbox --definition-file config/sandbox-def.json --alias empty --name empty -o prod

Expected result

A sandbox named "empty" should have been created with 400MB limit

Actual result

get error: Error (1): Cannot deserialize instance of textarea from START_ARRAY value [line:1, column:66]

Additional information

  1. Create a Sandbox Definition File
  2. Develop Functions Using Sandbox Orgs
  3. sf cli - org create sandbox

When I run with or without features, the command confirms the parameters and they appear correct.

Config Sandbox Request
┌───────────────────────┬──────────────────────────────┐
│ Field                 │ Value                        │
├───────────────────────┼──────────────────────────────┤
│ AutoActivate          │ true                         │
│ Description           │ created for core development │
│ Features              │ SandboxStorage               │
│ LicenseType           │ Developer                    │
│ SandboxName           │ empty                        │
│ ActivationUserGroupId │ 00GUU000001F9Ll2AK           │
└───────────────────────┴──────────────────────────────┘

System Information

  1. using bash shell on macbook
{
  "architecture": "darwin-arm64",
  "cliVersion": "@salesforce/cli/2.111.7",
  "nodeVersion": "node-v22.21.0",
  "osVersion": "Darwin 24.6.0",
  "rootPath": "/Users/tgagne/.local/share/sf/client/2.111.7-ab07346",
  "shell": "zsh",
  "pluginVersions": [
    "@oclif/plugin-autocomplete 3.2.38 (core)",
    "@oclif/plugin-commands 4.1.37 (core)",
    "@oclif/plugin-help 6.2.34 (core)",
    "@oclif/plugin-not-found 3.2.71 (core)",
    "@oclif/plugin-plugins 5.4.52 (core)",
    "@oclif/plugin-search 1.2.34 (core)",
    "@oclif/plugin-update 4.7.13 (core)",
    "@oclif/plugin-version 2.2.35 (core)",
    "@oclif/plugin-warn-if-update-available 3.1.51 (core)",
    "@oclif/plugin-which 3.2.42 (core)",
    "@salesforce/cli 2.111.7 (core)",
    "agent 1.24.21 (core)",
    "apex 3.8.5 (core)",
    "api 1.3.3 (core)",
    "auth 3.9.17 (core)",
    "code-analyzer 5.4.0 (user) published 139 days ago (Tue Aug 26 2025) (latest is 5.8.0)",
    "data 4.0.59 (core)",
    "deploy-retrieve 3.23.12 (core)",
    "info 3.4.95 (core)",
    "limits 3.3.70 (core)",
    "marketplace 1.3.8 (core)",
    "omnistudio-migration-tool 1.6.1 (user) published 122 days ago (Fri Sep 12 2025) (latest is 1.7.0)",
    "org 5.9.41 (core)",
    "packaging 2.23.0 (core)",
    "schema 3.3.86 (core)",
    "settings 2.4.50 (core)",
    "signups 2.6.46 (user) published 127 days ago (Sat Sep 06 2025) (latest is 2.6.56)",
    "sobject 1.4.77 (core)",
    "telemetry 3.6.62 (core)",
    "templates 56.3.69 (core)",
    "trust 3.7.113 (core)",
    "user 3.6.38 (core)",
    "@salesforce/sfdx-plugin-lwc-test 1.2.1 (user) published 464 days ago (Fri Oct 04 2024)",
    "@salesforce/sfdx-scanner 4.12.0 (user) published 258 days ago (Tue Apr 29 2025)",
    "sfdx-git-delta 6.19.0 (user) published 125 days ago (Tue Sep 09 2025) (latest is 6.25.0)",
    "vlocityestools 0.25.1 (user)"
  ]
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIssue or pull request that identifies or fixes a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions