Hi Team,
I am facing an issue with order placement using the FYERS API v3. My setup was working correctly a week ago, but I am now consistently receiving the following error response:
{ “status”: “success”,
“data”: {
“code”: -50,
“message”: "Request rejected: Order placement restricted. Algo orders are not allowed from this app ",
“s”: “error” }
}
My Environment & Setup:
- App ID:
H492REBJZ1-200(I am explicitly using the -200 suffix for Algo trading). - Infrastructure: FastAPI backend running on an AWS EC2 instance.
- Deployment: Frontend is in React, which communicates with the FastAPI backend.
- Library: Latest
fyers-apiv3Python SDK.
Things I have verified and tried:
- IP Whitelisting: I have whitelisted my EC2 Public IP (
52.91.222.168) in the API Dashboard. - IP Consistency: I rancurl ifconfig.mefrom the EC2 terminal and confirmed it matches the whitelisted IP exactly.curl -6returns nothing, so it is a pure IPv4 setup. - FastAPI Outbound Check: I verified that the FastAPI application is indeed sending requests from the whitelisted IP. - 2FA / Authentication: I am performing a fresh daily login with TOTP to generate a new access token. - App Status: The app is marked as “Active” in the FYERS API Dashboard.
Despite having the -200 app type and the correct Static IP whitelisted, the orders are still being rejected with the “Algo orders are not allowed” message.

