on running this code of order placement we get an error {'s': 'error', 'code': -304, 'message': 'Invalid exchange', 'id': ''}

data = {

  "symbol":['NSE:SBIN23MARFUT'],



"qty":1,

 "type":2,

 "side":1,

 "productType":"MARGIN",

 "limitPrice":0,

 "stopPrice":0,

 "validity":"DAY",

 "disclosedQty":0,

 "offlineOrder":"False",

 "stopLoss":0,

 "takeProfit":0

  }

fyers.place_order(data)

   # print("order placed at " , ltp)

on running this code we get an error

{‘s’: ‘error’, ‘code’: -304, ‘message’: ‘Invalid exchange’, ‘id’: ‘’}

How to resolve this error as ,it is basic order placement code of apiv2 of fyers

Hi Sanu,

Kindly let us know your Client id in DM so that our concerned team will get back to your registered mobile number and assist you in detail.