You can place either stop loss or target to sell your holdings. If you have a Target order placed then you'll not be able to place a stop-loss order as it'll be considered as a separate order. Short sell in CNC is not possible. Hence, your order is getting rejected.
Hope this helps!