Getting Error - stopPrice does not match: 0

response = fyersHandle.place_order(data=rawdata)

I am getting response:

Out[3]: {‘code’: -50, ‘message’: ‘stopPrice does not match: 0’, ‘s’: ‘error’}

Here rawData is following JSON:

Out[1]:

{‘symbol’: ‘NSE:63MOONS-EQ’,

‘qty’: 1,

‘type’: 1,

‘side’: 1,

‘productType’: ‘BO’,

‘limitPrice’: 938.2,

‘stopPrice’: 937,

‘validity’: ‘DAY’,

‘stopLoss’: 19,

‘takeProfit’: 18,

‘disclosedQty’: 0,

‘offlineOrder’: False}

Hi @104886607765083020231,

If you are placing StopLoss Limit (SL-L) order, please pass “type:4”, currently you are passing “type:1”, which is for Limit order.

Thanks. It worked.