The order modification request that you are sending is different from Request Structure provided. I would ask you to confirm the API endpoint that you are calling and along with that, if you can have similar request structure as provided here.
PS: In an earlier request call, I just sent the entire object received from the get orders call (Pending). In the same way, I can able to edit BO TGT order (or) Any Limit Order (or) SLL order. It’s failing only on BO SL, CO (Limit + SLM), and SLM orders. So I suspect that’s not the issue here. Some other checks fail at API.
We deployed fix for this after this issue was initially raised by @vinay_sd17. Let me check with the team regarding the same and will update you here. Meanwhile, it will be helpful if @sugam192 can send request structure, order ID and client ID at api.dhan.co, so that we can troubleshoot better.
Ok, may be try and avoid using the “trigger_price” parameter? It seems to be conflicting with order_type=“LIMIT”. Although weird if your order place was successful. Can you share order place request too?