Navigation

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

    Unable to Login via SmartAPI

    General Discussion
    0
    2
    16
    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
      ThetaDecay last edited by

      Getting errors while using Python SDK:

      03-Jan-23 12:04:14 - Attempt#0 to initialize Angel SDK
      03-Jan-23 12:04:14 - Exception occured while Initializing Angel SDK
      Traceback (most recent call last):
        File "/home/a/Desktop/angel_st/src/angel_main.py", line 69, in init_angel_SDK
          refreshToken = data['data']['refreshToken']
      TypeError: 'NoneType' object is not subscriptable
      03-Jan-23 12:04:14 - Exception: 'NoneType' object is not subscriptable
      Traceback (most recent call last):
        File "/home/a/Desktop/angel_st/src/angel_main.py", line 69, in init_angel_SDK
          refreshToken = data['data']['refreshToken']
      TypeError: 'NoneType' object is not subscriptable
      

      A few months ago, the same issue happened when API was down for one whole day
      This is not at all acceptable
      I am switching to a different broker for API like Zerodha or ICICI direct Breeze API

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

        Hi @ThetaDecay

        Apologies for the delayed response and inconvenience caused .
        NoneType object error has been fixed. Kindly reverify with the recent SDK and let us know if the issue still occurs

        Regards
        SmartAPI Team

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