When I try to make a scratch org with the command:
sfdx force:org:create --targetdevhubusername DEVHUB --wait 10 --durationdays 1 --definitionfile project-scratch-def.json
My project-scratch-def.json
looks like:
"orgName": "Impact",
"edition": "Developer",
"features": [
"ContactsToMultipleAccounts", "HealthCloudUser", "LightningScheduler", "StateAndCountryPicklist"
],
"settings": {
"lightningExperienceSettings": {
"enableS1DesktopEnabled": true
},
"securitySettings": {
"passwordPolicies": {
"enableSetPasswordInApi": true
}
},
"mobileSettings": {
"enableS1EncryptedStoragePref2": false
},
"accountSettings": {
"enableRelateContactToMultipleAccounts": true,
"enableAccountHistoryTracking": true,
"showViewHierarchyLink": true
},
"chatterSettings": {
"enableChatter": true
}
}
}
I had no problem creating scratch orgs before. This error showed up out of nowhere and now it occurs everytime. The only case where I can get the scratch org creation to success is if I remove all the Features and Settings from my project-scratch-def.json
, but I need those for my org to have the correct shape. How do I fix this?