Unable to Place stop Order for BTCUSD through alpaca order api

I am unable to place a stop order for BTCUSD through alpaca order API as it says invalid order type message and i am using paper trading account of alpaca so what can be the problem ?