Hi, I am using TradingView pine script to generate alerts for executing trades in Dhan . The alerts are getting generated however trades are not getting executed. The message shown is - Webhook delivery failed- 500 internal server error. Request if anyone can give any inputs with respect to this issue.
Pls check the JSON payload u r sending via webhook url.
A common cause for a server 500 crash is malformed JSON payloads in your TradingView alert box. Ensure you do not have trailing commas, missing brackets, or invalid unescaped characters in your alert message.