Error from 5Paisa: OTP has been used in past, Please try next OTP
Last updated 30 July 2026
5paisa: OTP has been used in past, Please try next OTP
This is a temporary problem at 5paisa's end, not a problem with your account or your TOTP Key. It usually happens when the broker's server time drifts slightly out of sync, so a perfectly valid code is read as one that was already used. The fix is simply to retry the login: go to Accounts -> Trading Accounts, select the account and click Validate All. It normally goes through on a retry. Do not change, re-enter or regenerate your TOTP Key, and do not open your authenticator app — you never type a 6-digit code into AutoTrader Web at all. Our system generates the code for you from the TOTP Key already saved on the account, so there is no old code for you to replace. If it keeps failing after several retries, contact us.
When this happens
- 1 A temporary problem at 5paisa's end — their server reads a valid, freshly generated code as one that was already used.
- 2 This is usually a small time-sync difference on the broker's servers, so it clears on its own when you retry.
What this error means
This message comes from 5paisa, not from AutoTrader Web. Their server is saying the one-time code it received was already used before.
In practice the code was fine. This shows up when the broker’s server time drifts slightly, so a valid code generated a moment ago is read as an old one. It is temporary and it is not caused by anything on your account.
You never type an OTP — so there is no old code to replace
This is the important part, because it is easy to assume the opposite.
AutoTrader Web generates the 6-digit code for you, every time, from the TOTP Key you saved on the account. You do not open your authenticator app, and you do not enter a code anywhere in AutoTrader Web.
So there is no “old OTP” you accidentally reused, and nothing to copy from Google Authenticator. Advice about waiting for a fresh code in your authenticator app does not apply here.
The fix: just retry
- Go to the menu (Accounts → Trading Accounts).
- Select your 5paisa account.
- Click the Validate All button.
That retries the login with a newly generated code, and it normally succeeds. If the first retry does not work, wait a few seconds and click Validate All once more.
What not to do
Because this looks like a code problem, people often change things that were never wrong. Please do not:
- Change, re-enter or regenerate your TOTP Key.
- Disable and re-enable TOTP at 5paisa.
- Create a new app or new API keys at 5paisa.
None of these fix this error, and re-doing your TOTP setup can leave the account with a key that no longer matches — turning a temporary problem into a real one.
If it keeps happening
If the error still shows after several retries spread over a few minutes, it is worth checking that your saved key is genuinely correct — see Invalid TOTP, which covers a genuinely wrong or unfinished TOTP setup.
If your key is correct and the error persists, contact us with your login id and the exact message, and we will look into it.