AB1004 Error


  • hi @admin

    suddenly getting this error and no requests are working.
    Kindly fix asap.

    2022-01-24 11:24:19 : INFO : [broker:141] : Trying to login to angel broking...
    2022-01-24 11:24:19 : CRITICAL : [broker:157] : Angel broking login failed! 0th Attempt
    2022-01-24 11:24:19 : CRITICAL : [broker:160] : Response Data = {'message': 'Something Went Wrong, Please Try After Sometime', 'errorcode': 'AB1004', 'status': False, 'data': None}
    2022-01-24 11:24:19 : ERROR : [broker:161] : Traceback (most recent call last):
      File "/home/algo/algotrade/algotrade/broker/broker.py", line 150, in angel_login
        refreshToken = data["data"]["refreshToken"]
    TypeError: 'NoneType' object is not subscriptable
    
    

  • @admin
    Facing same issue in Python SDK

    {'message': 'Something Went Wrong, Please Try After Sometime', 'errorcode': 'AB1004', 'status': False, 'data': None}
    Traceback (most recent call last):
      File "/home/tejas/Desktop/angel_st/src/main.py", line 30, in <module>
        refreshToken = data['data']['refreshToken']
    TypeError: 'NoneType' object is not subscriptable```

  • @admin It's resolved. Thank you Yatish.


  • Hi @garyr01 Are you still facing this issue.


  • same issue

    937a5350-7736-4c57-ab53-4b9f6f2af091-image.png