Navigation

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

    Smartapi python - Nonetype object is not subscriptable

    General Discussion
    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.
    • S
      Starlord last edited by

      line 13, in <module>
      refreshToken=data['data']['refreshToken']

      TypeError: 'NoneType' object is not subscriptable


      this error pops up when i'm trying to fetch data through smartapi - python

      pip upgrade done
      totp added

      but still getting this error. pl help

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

        Hi @Starlord

        Apologies for delayed response.
        The Nonetype object issue has been fixed, Kindly use the recent SDK and let us know if the issue still occurs.

        Thanks & Regards,
        SmartAPI team

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