Troubleshoot Broker Connection Issues in TradeLyser
Most broker connection problems in TradeLyser come down to three things: the broker's daily login has expired, the first login never completed, or a setting on the broker's side (redirect URL, API key or TOTP) doesn't match. This page shows you how to read an account's health on the Accounts page and fix each problem in a few minutes.
Use this page when:
- An account card shows Re-auth required or Token Expired.
- Re-Auth or Connect and Save Account doesn't finish.
- The account was saved but never connected.
- You aren't sure whether a connection or a sync is the problem.
Symptom table
| What you see | Most likely cause | Fix |
|---|---|---|
| Status Re-auth required, or Token Expired | The broker's daily login has expired | Re-authenticate |
| An error toast while connecting, such as Popup Blocked or Authentication Failed | The first login didn't complete | Broker connection failed |
| The broker shows a redirect URL error after you log in | The redirect URL in your broker API app doesn't match | Per-broker checks |
| A TOTP, MPIN or OTP code is rejected | Expired code or wrong phone clock | Per-broker checks |
| No Sync Trades or Re-Auth in the menu | The account uses File Upload or Manual Entry | Wrong import method |
| Status is fine but trades are missing | A sync problem, not a connection problem | Trades not syncing |
| Live Insights shows Offline | The live order feed isn't connected | Live Insights |
Step 1: Read the account card

- Open Accounts: choose Manage accounts at the bottom of the account selector, or Accounts Settings in your avatar menu.
- Find the broker account and check these fields:
| Field | What it tells you |
|---|---|
| Status | Connected or Healthy means the connection works. Re-auth required means the broker login has expired. |
| Method badge | Auto Sync, Import (file upload) or Manual. Only Auto Sync accounts connect to the broker. |
| Token | How long the current broker login stays valid. |
| Last Sync | When trades last arrived. |
| Live / Live Insights | Whether the live order feed is connected (Live) or not (Offline). |
File Upload and Manual accounts always show Connected, because they never log in to a broker.
Step 2: Re-authenticate the account
Most Indian brokers expire API logins every day, so Re-auth required is normal and not an error.
- Open the ⋯ actions menu on the account card.
- Choose Re-Auth.
- Log in to your broker. Most brokers open a login window. Kotak Neo, Angel One, Motilal Oswal, Definedge, Finvasia and Groww ask for codes (TOTP, MPIN or OTP) in a pop-up instead.
- When the status returns to Healthy, run Sync Trades if you want today's trades now.
Re-authenticate before 10:30 pm IST on trading days. The automatic nightly sync runs Monday to Friday at 10:30 pm and skips accounts whose login has expired. TradeLyser sends a login reminder (bell and email) around 8:30 am and a last call around 9 pm; you can mute them per account with Turn off login reminders. The full sync checklist is in Trades not syncing.
If Re-Auth shows an error or the broker window closes without connecting, go to Broker connection failed.
Step 3: Check the broker-specific settings

Each broker connects differently. Check the item for yours:
| Broker | What usually breaks | Guide |
|---|---|---|
| Zerodha | The Kite Connect app's Redirect URL must be exactly https://app.tradelyser.com/zerodha-callback. API key or secret copied with spaces. | Connect Zerodha |
| Fyers | The Fyers app's Redirect URL must be exactly https://app.tradelyser.com/fyers-callback. Pop-up blocked. | Connect Fyers |
| Upstox | The Upstox app's Redirect URI must be exactly https://app.tradelyser.com/upstox-callback. | Connect Upstox |
| Angel One | 4-digit MPIN and a current 6-digit TOTP. TOTP must be enabled on SmartAPI first. | Connect Angel One |
| Groww | You need a TOTP token from Groww's API Keys page, not an API key, plus the current code. | Connect Groww |
| Dhan | No API app or redirect URL. Allow the Dhan pop-up and approve access before closing it. | Connect Dhan |
| 5paisa | Allow pop-ups. The client code must match the 5paisa account you log in with. | Connect 5paisa |
For other brokers that use a developer app, copy the Redirect (Call Back) URL shown on TradeLyser's connection screen into your broker's API app settings, character for character.
If a TOTP code is rejected even though you typed it correctly, set your phone's date and time to update automatically, then enter a fresh code before it changes.
The account uses the wrong import method
Sync Trades, Sync History and Re-Auth only appear on accounts created with Auto Sync. An account's import method and calculation method (FIFO, LIFO or WA) can't be changed after it is created.
To start syncing a broker you've been importing by file, add a new account with Auto Sync from Accounts → Add Account. See Add multiple broker accounts.
Live Insights shows Offline
Live Insights is a live order feed for supported brokers, separate from the login used by Sync Trades. If it shows Offline:
- Re-authenticate the account (Step 2).
- Open the ⋯ actions menu and choose Live Insights to connect the feed again.
For Dhan, also switch Enable Push from Dhan off and on again, as described in Connect Dhan.
Still connected, but you want to stop
TradeLyser has no separate disconnect switch. To stop using a broker account, archive or delete it, and optionally delete the API app on the broker's side. See Disconnect a broker.
Frequently asked questions
Why does TradeLyser ask me to log in to my broker every day?
Most Indian brokers expire API logins daily. Use Re-Auth from the account's ⋯ menu each trading day before 10:30 pm so the nightly sync can run.
Is "Re-auth required" an error?
No. It means the broker's login has expired. Re-authenticate and the status returns to Healthy.
Can I change my account from File Upload to Auto Sync?
No. The import method is permanent. Add a new account with Auto Sync instead.
Where do I see why a sync failed?
Open Settings → Sync History and hover the eye icon on the failed run to read the error. See Sync history.
Next steps
- Broker connection failed
- Trades not syncing
- Sync broker trades
- Contact support, or email support@tradelyser.com with your broker, account name and the time of the error