Error Parsing channel definition JSON

Hi,

When trying to define a Receive event task, when publishing the app model it shows the following:

I’m trying to setup a Receive Task as HTTP inbound. The channel source looks like this:

{
    "channelType": "inbound",
    "type": "rest",
    "deserializerType": "json",
    "authorizedUsers": [
        "antonio@example.com"
    ],
    "authorizedGroups": [
        "flowableAdmin"
    ],
    "name": "GanInChannel",
    "key": "ganInChannel"
}

And the event that I have defined looks like this:

{
    "payload": [
        {
            "name": "reference",
            "correlationParameter": true,
            "header": false,
            "isFullPayload": false,
            "metaParameter": false,
            "type": "string"
        },
        {
            "name": "terminalProvider",
            "correlationParameter": false,
            "header": false,
            "isFullPayload": false,
            "metaParameter": false,
            "type": "string"
        },
        {
            "name": "code",
            "correlationParameter": false,
            "header": false,
            "isFullPayload": false,
            "metaParameter": false,
            "type": "integer"
        },
        {
            "name": "message",
            "correlationParameter": false,
            "header": false,
            "isFullPayload": false,
            "metaParameter": false,
            "type": "string"
        }
    ],
    "name": "startProcessingGanEvent",
    "key": "startProcessingGanEvent"
}

What is wrong?
Thanks.

I’m sorry. This should have been posted in the enterprise forum and I should have read that forum before.