Getting an EDIS authorization error while calling the order place API with transaction type SELL

I am using the Upstox API for placing orders. When I call the order placement API “/api/user-multi-exchange/orders” with the transaction type BUY, it works fine. However, when I sell my holdings using the same API endpoint with the transaction type SELL, I encounter the error “EDIS is not validated.” How can I validate EDIS from my website?

We recommend activating the DDPI to eliminate the need for the CDSL OTP verification process when selling holdings. For detailed instructions, please visit the following link: How do I activate DDPI (POA) on Upstox? - Upstox Help Center

Were you referring to the endpoint /api/user-multi-exchange/orders? Please refer to this page for placing orders: Place Order Documentation.