Hi @tbdori ,
As the error states “Resource creation can only be done from one SourceEntity or Definition”
If you are updating an existing template, then use the SourceEntity . Remove the Definition.
{
“AwsAccountId”: “”,
“TemplateId”: “”,
“SourceEntity”: {
“SourceAnalysis”: {
“Arn”: “”,
“DataSetReferences”: [
{
“DataSetPlaceholder”: “”,
“DataSetArn”: “”
}
]
},
“SourceTemplate”: {
“Arn”: “”
}
},
“VersionDescription”: “”,
“Name”: “”
}
Kind regards,
Koushik