TypeError: 'module' object is not callable
-
Hello,
I am getting this type error: TypeError: 'module' object is not callable at this line:
data = obj.generateSession("S50905755", "<4 Digit Pin>", pyotp.totp("XXXXXXXX"))Any idea how to resolve this?
My client id is S50905755. Please help!
regards
Thiyagu -
Hi @thiyagaraaj
Apologies for delayed response.
Kindly consume the recent SDK of smartAPI by reinstalling.
Please verify on the "import" to debug the "TypeError: 'module' object is not callable at this line" and share us the observation if the issue still occurs.
https://stackoverflow.com/questions/4534438/typeerror-module-object-is-not-callableThanks & Regards,
SmartAPI team