API BUY Fails after APP static id and new apps are created

2026-04-01 13:29:18,174 - DEBUG - {‘Status Code’: 400, ‘API’: ‘/orders/sync’}

2026-04-01 13:29:18,175 - ERROR - {‘API’: ‘/orders/sync’, ‘Error’: {‘code’: -50, ‘message’: ‘Order placement restricted. Algo orders are not allowed from this app.’, ‘s’: ‘error’}}

2026-04-01 13:29:18,188 - ERROR - [FAIL] BUY order failed: NSE:ADANIPOWER-EQ - Order placement restricted. Algo orders are not allowed from this app.

Hi @112558808111828593172, could you please DM me your client ID to get this checked?

please help i am getting this error Order failed: Order placement restricted. Algo orders are not allowed from this app.

Hi @111383297389530658596, could you please DM me your client ID to get this checked?

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.

still facing the issue

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 :slight_smile: 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.

Hi @112558808111828593172, as discussed over the call, the issue has now been resolved. Please let me know if you’re still facing anything on this.