Navigation

    SmartAPI Forum
    • Register
    • Login
    • Search
    • Categories
    • Popular
    • Groups
    • FAQs
    • API Docs

    TypeError: 'module' object is not callable

    Test
    0
    2
    4
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      thiyagaraaj last edited by

      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

      M 1 Reply Last reply Reply Quote 0
      • M
        Moderator_2 @thiyagaraaj last edited by

        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-callable

        Thanks & Regards,
        SmartAPI team

        1 Reply Last reply Reply Quote 0
        • First post
          Last post