unexpected exception placing orders for user [6]: [400 Bad Request] during [POST] to [https://api-t1.fyers.in/api/v3/orders/sync] [FyersClient#placeSingleOrder(OrderRequest)]: [{“code”:-50,“message”:“Order placement restricted. Algo orders are not allowed from this app.”,“s”:“error”}]. This error i am getting after enabling static IP.
Hi @108124114779188760048, This issue might be due to order request generated from non-whitelisted static IP address. Please check which IP is being passed. You can refer to the following doc to validate the IP: Static IP validation API.pdf - Zoho WorkD
IP validation is successful. enabled two factor authentication. Still facing the same issue. Kudos to the development team who built the APIs or SDK They provide no clue why it’s failing. Support team has boiler template response. now need to look into other demats accounts. 6 day lost because of troubleshooting. i was using python sdk and that was the reason for failing. I swithced to rest API of fyers then i am able to place the sell and buy.