Error "YEL: Group combination not found" For Multileg order

Hi Team,

I tried to create a multileg order with very simple config. 2 Stikes ITM Buy and 2 Strikes OTM Sell. This is a very simple requirement. I am getting an error in API that ‘YEL: Group combination not found’. Upon investigation i find these groups as S2 and S3. Infact these groups add no meaning or value to me. These are not calender spreads. Same expiry near ATM strikes so why this wiered restriction of not in same groups unlike in trading UI or in Zerodha are upstox apis? Waiting for a logical answer or explanation from the team.

{‘orderTag’: ‘jwscnbohug’, ‘productType’: ‘INTRADAY’, ‘offlineOrder’: False, ‘orderType’: ‘2L’, ‘validity’: ‘IOC’, ‘legs’: {‘leg1’: {‘symbol’: ‘NSE:NIFTY24O1025350PE’, ‘qty’: 25, ‘side’: 1, ‘type’: 1, ‘limitPrice’: 133.7}, ‘leg2’: {‘symbol’: ‘NSE:NIFTY24O1025550PE’, ‘qty’: 25, ‘side’: -1, ‘type’: 1, ‘limitPrice’: 236.3}}}

{‘code’: -99, ‘message’: ‘YEL: Group combination not found’, ‘s’: ‘error’, ‘id’: ‘24100400306567’}

Hey @111688361577888913505

Hope you are doing well!
Please refer to section of input validations under API docs.
https://myapi.fyers.in/docsv3#tag/Order-Placement/paths/~1OthePlacement/put
Stream group check is important while placing Multi Leg order initially and this is as per Exchange defined streams. Both the symbol should belong to same stream group present in symbol master file for Multi Leg Order placement.
Please feel free to ask any question with regards to same.

Hi, I am also facing the same issue. Unable to find the stream group info frm the link shared. Please share the the link where I can find the symbol details along with group. THanks.