If Sync now fails, or trades stop arriving from a broker you connected earlier, the connection itself has usually gone stale. This is normal and it is quick to fix — nothing you have already imported is affected.
Why connections go stale
Your broker, not Ledger of Alpha, owns the connection. It can be invalidated on their side when you change your broker password or enable two-factor authentication, when the broker expires the authorisation (many do this on a fixed schedule), when you revoke access from the broker's own security settings, or when an account is closed, renumbered, or re-opened under a new id.
When that happens the linked account no longer resolves at the broker, so the sync reports an error such as “This connection is no longer valid at your broker.”
The fix: disconnect and reconnect
- Open Brokers or Settings → Broker Sync.
- Find the account showing the error and click the trash icon to disconnect it.
- Click Connect a brokerage and sign in to your broker again.
- Re-link the account — pick the same Ledger account you were using before.
- Click Sync now.
Will I lose trades or get duplicates?
No, on both counts. Disconnecting removes the link to your broker, never your trades — everything already imported stays exactly as it is, including your notes, ratings, and journal entries. The broker connection itself is also removed from SnapTrade, unless another of your linked accounts uses the same broker login; deleting a Ledger account or your whole account does the same. And because every imported trade carries a stable identifier, re-syncing skips anything you already have rather than importing it twice. See How duplicate detection works.
The same broker listed twice
Reconnecting a broker (for example after replacing an Interactive Brokers Flex Query) adds a new connection and leaves the old one under Link to a ledger account. Each row there shows the broker, the last four digits of the account number, the day it was connected and what was found, such as connection broken, first sync still running or no trades found. Link the new one, then click the trash icon on the old row to remove that connection. Trades you already imported are kept.
Interactive Brokers: the sync works but nothing arrives
Auto-sync reads the report IBKR makes for SnapTrade, and you don't build it yourself. If the sync succeeds and imports nothing, the Query ID and Token you pasted almost always belong to a different report, often one another broker or a tax service set up on your account.
- In IBKR's Client Portal open Performance & Reports → Third-Party Reports and click the gear under Third-Party Services.
- Turn on SnapTrade and copy the Query ID and Token shown for SnapTrade, not another service's.
- Connect Interactive Brokers again with that pair, link the new account, and remove the old row with the trash icon.
Don't delete reports another service set up (a broker's tax report, for example): that service may rely on them.
If reconnecting doesn't help
- Sign in to your broker directly first. If the broker is asking you to accept new terms, re-verify your identity, or reset a password, the connection cannot be restored until you clear that.
- Check you linked the right account. If your broker has several accounts, it is easy to re-link a different one — the sync will succeed but bring in trades you did not expect.
- Wait a few minutes after a rate-limit message before trying again.
- Still stuck? Contact support and include the error text shown next to the connection — it tells us exactly which step failed.
In the meantime you can always import a CSV export from your broker to stay up to date. Duplicate detection means it is safe to do this even after the connection is working again.