Unauthorized request: IP address does not match the login IP.
Last updated 26 June 2026
Broker rejects your IP (static IP not registered)
Your broker rejects the request because the static IP that AutoTrader uses is not registered with the broker. Any broker error about an invalid static IP, a static IP not registered, or an order or login coming from the wrong IP has this same cause and fix. Fix it in two steps: first assign a static IP to the account in our system, then register that same IP in your broker's API dashboard.
When this happens
- 1 No static IP is assigned to your trading account in our system.
- 2 A static IP is assigned in our system but it is not registered in your broker's API dashboard.
Errors
This fix applies to broker errors about IP, such as:
- Unauthorized request: IP address does not match the login IP. (Anand Rathi, Jainam)
- AG7002 - your IP is not a registered IP, please check your registered IP. (Angel One)
- Access to this API is blocked due to static IP restrictions. No static IP has been configured. (Upstox)
- Please register your static IPs first. (5paisa)
- Orders are only allowed from whitelisted IP addresses. (Fyers)
- Primary/Secondary IP not configured. Login denied. (XTS brokers)
- No IPs configured for this app. (Zerodha)
- GenAcsTok failed: Invalid Input : INVALID_IP. (Profitmart, Finvasia / Shoonya, Flattrade, PL India)
The wording differs by broker, but the cause is always the same. Any broker message about an invalid static IP, a static IP that is not registered, or an order or login that came from the wrong IP has this same cause and the same fix below — even if the exact words are not in the list above.
How to fix it
You need to do two things. The IP must be set in our system and registered with your broker.
Step 1: Assign a static IP to the account in our system
- Go to the menu (Accounts -> Trading Accounts).
- Click the small EDIT icon next to your account’s client id or login id.
- Click the Auto-Assign IP button. The system reserves a static IP for you.
- IPv4: one primary IP is shown.
- IPv6: a primary and a secondary IP are shown.
- Note down the IP (or IPs) shown.
Angel One: a free static IP from our pool is not available for Angel One. For an Angel One account, use Bring Your Own IP (BYOIP) with your own IPv4 static IP instead of Auto-Assign. See Static IP Setup.
Step 2: Register that IP in your broker’s API dashboard
- Log in to your broker’s API or developer dashboard.
- Add the IP (or IPs) from Step 1 to the broker’s IP whitelist / registered IP field. Register all the IPs shown (both primary and secondary for IPv6).
- Save it on the broker side.
- Come back to our system, click Validate, and Save the account.
The exact field name is different for each broker, so see your broker’s setup guide for where to enter the IP. For more detail, read the Static IP Setup guide.