Thanks for the answers, however, I followed what you described, as I created an event grid custom topic, where I set the input schema to CloudEventSchemaV1_0.
I checked if the subscription is registered with resource provider.
I created a custom trigger as below, selecting the appropriate event grid,
However, when trying to activate this trigger I get this message in Synapse
and in Event grid, I came across this error message
The test message I send looks like the following, I get no error when sending.
{
"specversion" : "1.0",
"type" : "com.example.someevent",
"source" : "/mycontext",
"id" : "C234-1234-1234",
"time" : "2018-04-05T17:31:00Z",
"comexampleextension1" : "value",
"comexampleothervalue" : 5,
"datacontenttype" : "application/json",
"data" : {
"appinfoA" : "abc",
"appinfoB" : 123,
"appinfoC" : true
}
}