Navigation

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

    TypeError: 'NoneType' object is not subscriptable

    Python SDK
    0
    4
    58
    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.
    • P
      P81994 last edited by

      @admin
      refreshToken = login['data']['refreshToken']
      TypeError: 'NoneType' object is not subscriptable

      1 Reply Last reply Reply Quote 0
      • T
        test123 last edited by test123

        Dear @admin123 @admin @adminatkremlin @administrators ,

        I am also receiving the same error and the whole code is getting crashed during market hours. Even I am fetching a single value per second. This is really a headache now Kindly solve this soon as possible.

        c444a1dc-8775-4d9d-82bc-63f06e8b5bff-image.png

        1 Reply Last reply Reply Quote 0
        • T
          test123 last edited by

          @admin @admin123 @adminatkremlin @administrators

          Kindly solve this.

          1 Reply Last reply Reply Quote 0
          • S
            Starlord last edited by

            1. Create a new app for historical and paste your latest api_key.
            2. Ensure your password is mobile pin
            3. Your totp should be the OTP generated from authenticator app (keeps on changing every 30 secs - update the latest before running the command)
              Hope this will work.
              7fbb1975-d2de-46b7-bc82-7494a4e1d43e-image.png
            1 Reply Last reply Reply Quote 0
            • First post
              Last post