Skip to main content

I'm using the SFDX: Create a Default Scratch Org command to create a scratch org to test my application on a Professional Edition org. I've already authorized my Dev Hub and can see scratch orgs being created, but erroring with C-9998 (which implies the scratch org isn't valid).

 

My scratch definition json is simply:

{

"orgName": "SomeOrgName",

"edition": "Professional"

}

and running this command:

sfdx force:org:create -f config/project-scratch-def.json --setalias salesforceintegration --durationdays 2 --setdefaultusername --json --wait 15

results in this error:

The request to create a scratch org failed with error code: C-9998 

The command does work if I edit the edition in the scratch definition json to "Developer" or "Enterprise", but fails with both "Professional" and "Group".

1 个回答
0/9000