Trigger Logic Apps from Opensearch-dashboard notifications

Hi All,

Could someone please help me on how to trigger a logic app from opensearch-dashboard notification section?
I have logic apps as apis in an API management instance but when i try to call them from opensearch-dashboards i have error like below:


POST https://*** HTTP/1.1
Host: ***
Content-Type: application/json
Ocp-Apim-Subscription-Key: ***
Ocp-Apim-Trace: true

My config in Opensearch-dashboard:

Below is the error I get:
[status_exception] {"event_status_list": [{"config_id":"1UwAX4EB6Rhv9wG-COFo","config_type":"webhook","config_name":"Email_Channel","email_recipient_status":[],"delivery_status":{"status_code":"500","status_text":"Failed to send webhook message Failed: {\"error\":{\"code\":\"InvalidRequestContent\",\"message\":\"The request content is not valid and could not be deserialized: 'Unexpected character encountered while parsing value: T. Path '', line 0, position 0.'.\"}}"}}]}

Appreciate any guidance. Thanks !


After Removing the content type header , the logic app is fired but my notification is still a fail in opensearch-dashboards. The reason behind that is the HTTP version mismatch. (HTTP/2 and HTTP/1.1)