Fyers Support Team,
I recently created a new API application from the Fyers API dashboard and configured all required settings, including IP whitelisting.
Details:
App ID: ZARYXXXXLT-200
Whitelisted IP: XXX.XX.XXX.122
Request is being made from the same whitelisted server
Endpoint used:
/api/v3/orders/sync
However, when attempting to place an order via API, I am consistently receiving the following error:
{"code":-50,"message":"Request rejected: Order placement restricted. Algo orders are not allowed from this app (XXXX-200).","s":"error"}
Sample Request (masked):
curl --interface XXX.XXX.XXX.122 --location 'https://api-t1.fyers.in/api/v3/orders/async' \
--header 'Authorization: XXX' \
--header 'Content-Type: application/json' \
--data '{
"symbol":"MCX:SILVERMIC20NOVFUT",
"qty":1,
"type":1,
"side":1,
"productType":"INTRADAY",
"limitPrice":0,
"stopPrice":0,
"validity":"DAY",
"disclosedQty":0,
"offlineOrder":false,
"stopLoss":0,
"takeProfit":0,
"orderTag":"tag1",
"isSliceOrder":false
}'
From the error message, it appears that algo order placement is not enabled for this app, even though the API has been created and IP is whitelisted.
Request:
Could you please:
Enable algo trading/order placement permissions for my API app, or
Confirm if any additional approval or configuration is required from my side
Please let me know if any further details are needed.
Virendra Kumar