Hi @tarsharm20 ,
You are trying to sell existing holdings, but those stocks are not authorised for e-DIS using the CDSL TPIN. Zerodha requires this authorisation; it is a CDSL requirement.
Steps to fix:
- Open Zerodha Console: Login to Kite by Zerodha - Fast, easy trading and investment platform
- Click on Authorize
- Enter your CDSL TPIN
- Select the stocks you want to sell
After completing these steps, your API sell orders will work.