Unable to Login via SmartAPI


  • 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


  • 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