Avoid [FYERS_RISK_CUG] while selling shares through API

We are trying to sell shares through API but I am getting Error this “RED:RULE:{Check Holdings Including BTST except t2t}No Holdings uploaded for C-XP22346 [FYERS_RISK_CUG]”, have these any solution.

Hey @8qNsGfv8F5

This error comes up generally when the holdings are not authorized , kindly make sure to authorize the holdings before placing a sell order.

How do I authorise it though API? can you share the documentation link specific to this?

Hi @praveen3
The required information can be checked here :
https://myapi.fyers.in/docs/#tag/EDIS