๐ด Urgent: TOTP Invalid (AB1050) โ Code Matches Google Authenticator but Login Fails
-
Hi,
My Python-generated TOTP matches exactly with my Google Authenticator code, but SmartAPI login always fails with:
"status": false,
"message": "Invalid totp",
"errorcode": "AB1050"Details:
Client ID: S565246
Python SDK (pyotp)
.env secret exactly as provided, no spaces, uppercase, Base32
PC time synced with NTP
Tested within 2โ3 seconds of code refresh
Same result on multiple attempts
I suspect there may be a server-side TOTP validation issue or a recent change in the secret format.
Please check my accountโs recent login attempts and confirm the current expected TOTP secret format.This is blocking all automated logins.
Thanks in advance! -
@s565246 Hey there,
I suggest you to print all your environment variables.
After printing you should get your credentials. Check those credentials especially username.
FYI, if there is any value stored in variable named "username" (ignore the case sensitivity) , the environment variable references it as username (this is somewhere used in your pc already) , which usually it is "admin".