Error while submitting order through API

Hello Team, When I am submitting my orders from API its thoriwng error as : {'s': 'error', 'code': -310, 'message': 'Please provide a valid order quantity', 'id': ''}

I am passing my entries as per documentation only:

Python:

from fyers_api import fyersModel

order_data = []  # List to store the order data, single or multiple

if broker_quantity_multiplier:
    quantity = quantity * broker_quantity_multiplier
for i in range(0, quantity, max_lots_allowed):
    execution_quantity = min(quantity - i, max_lots_allowed)
    data = {
        "symbol": strike_key,
        "qty": int(execution_quantity*lot_size),
        "type": order_type_constant,
        "side": buy_sell_constant,
        "productType": product_type_constant,
        "limitPrice": limit_price,
        "stopPrice": stop_loss,
        "validity": "DAY",
        "disclosedQty": 0,
        "offlineOrder": "False",
    }
    
    order_data.append(data)

print(order_data)
orderResponse = self.fyersOrders(broker_id=broker_api_key, broker_auth_token=broker_auth_token,
                                 order_data=order_data)

Response of print(order_data):
[{'symbol': 'NSE:SBIN-EQ', 'qty': 1, 'type': 2, 'side': 1, 'productType': 'INTRADAY', 'limitPrice': 0, 'stopPrice': 0, 'validity': 'DAY', 'disclosedQty': 0, 'offlineOrder': 'False'}, {'symbol': 'NSE:HDFC-EQ', 'qty': 1, 'type': 2, 's
ide': 1, 'productType': 'INTRADAY', 'limitPrice': 0, 'stopPrice': 0, 'validity': 'DAY', 'disclosedQty': 0, 'offlineOrder': 'False'}]
3 replies