I am having the same issue and the getting same error. Support is unable to find out the reason
curl -H ‘Content-Type: application/json; charset=utf-8’ -d ‘{“secret”:“XXXXX”,“alertType”:“multi_leg_order”,“order_legs”:[{“transactionType”:“B”,“orderType”:“MKT”,“quantity”:“1”,“exchange”:“NSE”,“symbol”:“NSE:NIFTY”,“instrument”:“OPT”,“productType”:“I”,“sort_order”:“1”,“price”:“0”,“option_type”:“PE”,“strike_price”:“19400”,“expiry_date”:“2023-08-17”}]}’ -X POST https://tv-webhook.dhan.co/tv/alert/dd838d5a1db14f72b5399bd2dada32d2/XXXXX
{“timestamp”:“2023-08-11T11:24:29.527+00:00”,“status”:500,“error”:“Internal Server Error”,“path”:“/tv/alert/dd838d5a1db14f72b5399bd2dada32d2/XXXXXX”}%
curl -H ‘Content-Type: application/json; charset=utf-8’ -d ‘{“secret”:“XXXXX”,“alertType”:“multi_leg_order”,“order_legs”:[{“transactionType”:“B”,“orderType”:“MKT”,“quantity”:“1”,“exchange”:“NSE”,“symbol”:“NIFTY”,“instrument”:“OPT”,“productType”:“I”,“sort_order”:“1”,“price”:“0”,“option_type”:“CE”,“strike_price”:“19400.0”,“expiry_date”:“2023-08-17”}]}’ -X POST https://tv-webhook.dhan.co/tv/alert/dd838d5a1db14f72b5399bd2dada32d2/XXXXX
{“timestamp”:“2023-08-11T11:27:40.969+00:00”,“status”:500,“error”:“Internal Server Error”,“path”:“/tv/alert/dd838d5a1db14f72b5399bd2dada32d2/XXXXX”}%