Unable to subscribe to events via Websocket Connection

The Websocket Connection will be closed after sending the “addSubscription” command.

A postman screenshot regarding this issue is attached.

I tried multiple filter settings without success.

e.g.:

“filters”: [

{

  "modifier": "include",

  "resourceTypes": \[\*\],

  "sourceIds": \[\],

  "eventTypes": \[\]

}

],

“filters”: [

{

  "modifier": "include",

  "resourceTypes": \[cameras\],

  "sourceIds": "\*",

  "eventTypes": "\*"

}

]

“filters”: [

{

  "modifier": "include",

  "resourceTypes": "\*",

  "sourceIds": "\*",

  "eventTypes": "\*"

}

]

,

Any ideas?

BR

DS

Shame on me, I forgot the " in the string array so the correct command will be:

{
    "command": "addSubscription",
    "commandId": 2,
    "filters": [
        {
        "modifier": "include",
        "resourceTypes": [ "cameras" ],
        "sourceIds": [ "*" ],
        "eventTypes": [ "*" ]
        }
    ]
}