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:
APIM
POST https://***.azure-api.net/notification/email HTTP/1.1
Host: ***.azure-api.net
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 !