Getting Invalid totp


  • [Hi,
    I am getting invalid totp error when I call smartapi.generateSession function. refer attached screenshot.
    Can you please check.
    Note: I get valid totp when i run pyotp.TOTP(credentials.TOEKN).now()

    98e2c57c-f7f8-4c83-8c99-5d676b36ace1-image.png