Navigation

    SmartAPI Forum
    • Register
    • Login
    • Search
    • Categories
    • Popular
    • Groups
    • FAQs
    • API Docs
    1. Home
    2. D50628473
    D
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 2
    • Best 0
    • Groups 0

    D50628473

    @D50628473

    0
    Reputation
    2
    Profile views
    2
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    D50628473 Unfollow Follow

    Latest posts made by D50628473

    • Smartapi INVALID TOTP

      Re: Errors in login

      Traceback (most recent call last):
      File "c:\Users\dhanr\WebDevloper\HTML.html\ligin_smartapi_code.py", line 187, in <module>
      raise e
      File "c:\Users\dhanr\WebDevloper\HTML.html\ligin_smartapi_code.py", line 184, in <module>
      totp = pyotp.TOTP(token).now()
      ^^^^^^^^^^^^^^^^^^^^^^^
      File "C:\Users\dhanr\AppData\Roaming\Python\Python312\site-packages\pyotp\totp.py", line 34, in now
      return self.generate_otp(self.timecode(datetime.datetime.now()))
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "C:\Users\dhanr\AppData\Roaming\Python\Python312\site-packages\pyotp\otp.py", line 31, in generate_otp
      self.byte_secret(),
      ^^^^^^^^^^^^^^^^^^
      File "C:\Users\dhanr\AppData\Roaming\Python\Python312\site-packages\pyotp\otp.py", line 49, in byte_secret
      return base64.b32decode(self.secret, casefold=True)
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "C:\Program Files\Python312\Lib\base64.py", line 254, in b32decode
      return _b32decode(_b32alphabet, s, casefold, map01)
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "C:\Program Files\Python312\Lib\base64.py", line 210, in _b32decode
      raise binascii.Error('Incorrect padding')
      binascii.Error: Incorrect padding

      posted in General Discussion
      D
      D50628473
    • RE: Invalid API key

      his code i am try last 7 day but not work can you give me advice

      posted in Python SDK
      D
      D50628473