Scratch Org Definition
{
"orgName":"OrgName",
"edition":"Developer",
"features":[
"AuthorApex",
"Communities",
"EnableSetPasswordInApi",
"FieldAuditTrail",
"StateAndCountryPicklist"
],
"settings":{
"accountSettings":{
"enableAccountHistoryTracking":true,
"enableContactHistoryTracking":true
},
"communitiesSettings":{
"enableNetworksEnabled":true
},
"currencySettings":{
"enableMultiCurrency":true
},
"opportunitySettings":{
"enableOpportunityFieldHistoryTracking":true
},
"languageSettings":{
"enableTranslationWorkbench":true,
"enableEndUserLanguages":true
},
"lightningExperienceSettings":{
"enableS1DesktopEnabled":true
},
"securitySettings":{
"enableAdminLoginAsAnyUser":true
},
"sharingSettings":{
"enableExternalSharingModel":true
},
"liveAgentSettings":{
"enableLiveAgent":true
},
"apexSettings":{
"enableApexApprovalLockUnlock":true
}
},
"objectSettings":{
"case":{
"sharingModel":"private"
},
"opportunity":{
"sharingModel":"read"
}
}
}
Error Message
{
"code": 1,
"actions": [
"See https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_scratch_orgs_error_codes.htm for information on error code C-9999."
],
"context": "EnvCreateScratch",
"commandName": "EnvCreateScratch",
"data": {
"username": "*******",
"orgId": "00D90000000XXXXXXX",
"scratchOrgInfoId": "2SR7T000000XXXXXXX"
},
"message": "A fatal signup error occurred. Please try again. If you still see this error, contact Salesforce Support for assistance",
"name": "RemoteOrgSignupFailed",
"status": 1,
"stack": "RemoteOrgSignupFailed: A fatal signup error occurred. Please try again. If you still see this error, contact Salesforce Support for assistance\n
...
"exitCode": 1,
"warnings": [
"Record types defined in the scratch org definition file will stop being capitalized by default in a future release.\nSet the `org-capitalize-record-types` config var to `true` to enforce capitalization."
]
}
Maybe the question is asked in the wrong group as it is not about org shapes but just scratch org creation.
However, it is a bug and there is now also an official known issue: https://issues.salesforce.com/issue/a028c00000yx0wj/package-version-scratch-org-creation-is-failing-with-the-error--c-9999-after-spring24-release