Broker Connection Failed? Fix It in TradeLyser
If Connect and Save Account or Re-Auth doesn't finish, TradeLyser usually tells you why in a message at the corner of the screen, or your broker shows an error on its own login page. Find the message below, apply the fix and try again. Most fixes take under five minutes.
This page covers failures while connecting or re-authenticating. If the account is connected but trades don't arrive, see Trades not syncing. To check the health of an existing connection, see Troubleshoot broker connection issues.
Error message table
| Message or symptom | What it means | Fix |
|---|---|---|
| Popup Blocked, or nothing happens after you click connect | Your browser blocked the broker's login window | Allow pop-ups |
| Missing Credentials | A required field (Client ID, API key, secret) is empty | Fill in every field |
| Account Name Already Exists or Duplicate Account Name | Another account already uses that name | Give this account a different name |
| Account Saved — Continue Authentication | The account is saved, but the broker login isn't finished | Finish the login |
| Authentication Cancelled | The login window was closed before it finished | Click connect or Re-Auth again and complete the login |
| Authentication Failed, Login Failed or Fyers Authentication Failed | The broker rejected the login or the app details | Check app details |
| The broker shows a redirect URL error after you log in | The redirect URL in your broker API app doesn't match TradeLyser's | Fix the redirect URL |
| TOTP Code Required, TOTP Token Required, or the code is rejected | A code is missing or expired | Fix codes |
| IMEI Required (Finvasia) | The IMEI Finvasia gave you is missing | Enter the IMEI provided by Finvasia |
| Post-auth Error or Connection Failed | The login worked but saving the connection failed | Retry with Re-Auth |
Log in to the broker account that matches the Client ID you entered in TradeLyser. Starting the login in two tabs at once, or logging in as a different client, is a common cause of failed connections.
Popup Blocked or the login window doesn't open
Most brokers log in through a pop-up window from app.tradelyser.com.
- Allow pop-ups for app.tradelyser.com in your browser's site settings.
- Click Connect and Save Account (new account) or Re-Auth in the account's ⋯ actions menu (existing account) again.
- Keep the TradeLyser tab open until the broker window closes and you see a Connected Successfully message.
Missing Credentials or invalid API key
- Open your broker's developer console or API page and copy each value again: Client ID, API Key and API Secret, or App ID and App Secret for Fyers.
- Paste them into TradeLyser and check there are no spaces before or after them.
- Connect again.
If the broker itself says "Invalid API key" or "Invalid checksum", the key and secret don't belong to the same app, or one was copied incompletely.
The account saved but isn't connected
Account Saved — Continue Authentication means TradeLyser stored the account, and you still need to finish the login in the pop-up. If you closed it, open Accounts, then the ⋯ actions menu on the account, and choose Re-Auth. You don't need to add the account again.
Authentication Failed or Login Failed
- Check that the app you created at the broker is active and that you copied its details from the same app.
- Check your broker account is active and that you can log in on the broker's own website or app.
- Try again with Re-Auth. The message often includes the broker's own reason; note it if you contact support.
Redirect URL error on the broker's page
Brokers that use a developer app send you back to TradeLyser only if the app's redirect URL matches exactly:
| Broker | Redirect URL |
|---|---|
| Zerodha (Kite Connect) | https://app.tradelyser.com/zerodha-callback |
| Fyers | https://app.tradelyser.com/fyers-callback |
| Upstox | https://app.tradelyser.com/upstox-callback |
For other brokers, copy the Redirect (Call Back) URL shown on TradeLyser's connection screen. Edit the app on your broker's developer site, paste the URL with no trailing slash or spaces, save it, then connect again. Dhan, Angel One, Groww and 5paisa don't need a redirect URL in TradeLyser; see their guides below.
TOTP, MPIN or OTP problems
Kotak Neo, Angel One, Motilal Oswal, Definedge, Finvasia and Groww log in with codes in a TradeLyser pop-up instead of a broker window.
- TOTP rejected: enter the code currently shown in your authenticator app before it changes, and set your phone's clock to update automatically.
- Angel One: use your 4-digit MPIN, not your trading password, and make sure TOTP is enabled on SmartAPI.
- Groww: TOTP Token Required means you need the TOTP token from Groww's API Keys page, not an API key.
- Definedge: if the OTP expired, click Resend OTP and enter the new one.
Post-auth Error or Connection Failed
The broker login succeeded, but TradeLyser couldn't save the session.
- Refresh the Accounts page.
- Run Re-Auth on the account once more.
- If it fails again, use Report Issue from the round support button (bottom right) so the screenshot and message reach the team.
Broker setup guides
- Connect Zerodha
- Connect Fyers
- Connect Angel One
- Connect Upstox
- Connect 5paisa
- Connect Dhan
- Connect Groww
Frequently asked questions
Why does my broker connection fail in TradeLyser?
The most common causes are a blocked pop-up, a redirect URL that doesn't match, API details copied with spaces, and an expired TOTP code. Match your error message in the table above.
Do I need to delete the account and add it again?
Usually not. If the account was saved, finish or repeat the login with Re-Auth from the account's ⋯ menu.
Why does Zerodha need a login every day?
Zerodha, like most Indian brokers, expires API logins daily. Re-authenticate each trading day before the 10:30 pm nightly sync.
Will a failed connection delete my trades?
No. A failed login doesn't change trades already in TradeLyser.