I am following the steps listed here Build scratch org definition file in order to enable communities for a scratch org, but the following error is received:
We couldn't find a template with the ID specified in the scratch org definition. If you’re sure the ID is correct, contact Salesforce Support.
This is my scratch org definition file:
{
"orgName": "Demo",
"edition": "Developer",
"features": ["Communities"],
"settings": {
"lightningExperienceSettings": {
"enableS1DesktopEnabled": true
},
"communitiesSettings": {
"enableNetworksEnabled": true
}
}
}
I can create standard scratch orgs, but for some reason is failing for communities, tried changing the edition to "Enterprise". My sourceApiVersion for this project is 49.0.
I can not find this error in the list of known issues for Scratch Orgs listed here: Scratch Org Error Codes. Hoping to find answers here before contacting support. Thanks!