Getting error while verifying TOTP from python code

Hi Team,

I am have just changed the pin because it might have expired but after changing the pin, TOTP verification is failing with error:

{"s": "error", "code": -1063, "otp_retries": 0, "failed_attempts": 1, "user_blocked": false, "message": "invalid totp, 4 attempts left"}

I have tried re-creating the new TOTP_KEY with new pin but still I am getting same error. Due to this I am blocked and my script is not able to proceed with further trading calls. It was working perfectly fine until yesterday.

I am using similar code as mentioned here in github and it is failing at verification call as mentioned in this code at line 55.

1
5 replies