Either your Fyers login id is wrong or you have not setup TOTP on Fyers.
Last updated 12 August 2026
Fyers: Login id is wrong or TOTP is not set up
Fyers refused the login at the very first step, before any password or TOTP was used. There are only two possible reasons. Either the Fyers login id saved on your account is wrong, or TOTP is not enabled in your Fyers account. Check the login id first, because it is the quicker of the two. Then open your Fyers account and make sure External 2FA TOTP is enabled. Your API app, App ID, Secret ID and PIN cannot cause this error, so there is no need to change them.
When this happens
- 1 The Fyers login id saved on your trading account is wrong. This is your Fyers Client ID, for example XY12345. A typing mistake, or the id of a different account, gives this error.
- 2 TOTP is not enabled in your Fyers account. Many people copy a TOTP key into our system but never finish the Enable step on the Fyers screen, so TOTP is never actually switched on at Fyers.
What this error means
Connecting a Fyers account starts with one simple question to Fyers: is this login id allowed to log in with TOTP? This error means Fyers answered no.
That answer comes back before your PIN, your TOTP key, your App ID or your Secret ID are used. So none of those can be the cause. Only two things are checked at this point, and one of them is wrong.
You may have seen this error earlier in its older form, as an invalid request message with the code -1025. It is the same problem.
How to fix it
Step 1: Check your Fyers login id
- Go to Accounts → Trading Accounts and edit your Fyers account.
- Compare the login id with the Client ID shown in your Fyers account. It usually looks like
XY12345. - Correct it if needed, then click Validate & Save.
If you have more than one Fyers account, make sure you have not saved the id of the other one.
Step 2: Enable TOTP in your Fyers account
If the login id is correct, TOTP is not switched on at Fyers.
- Open your Fyers account and go to Manage Account → Others.
- Find External 2FA TOTP and click Enable.
- Scan the QR code with an authenticator app, enter the 6-digit TOTP, and click Enable to finish.
- Copy the TOTP key shown below the QR code and save it in Accounts → Trading Accounts, then click Validate & Save.
The last click matters. If you close that screen without finishing it, TOTP stays switched off at Fyers and this error keeps coming back.
The full setup, with screenshots, is on the Fyers setup page.
Still not working?
If the login id matches and TOTP is enabled, please contact us with your Fyers login id and we will check it for you.