'SmartConnect' object has no attribute '_loginUrl'
-
Hi ,
i'm not able to generate token during the login flow process, as i'm getting error "'SmartConnect' object has no attribute '_loginUrl'" .
can any one please post a video or tutorial on how to login into the system and stream the live price from websocket.
following is the code: i hope i'm coding correctly and if not please let me know the login flow.
from smartapi.smartConnect import SmartConnect key = "my api_key" obj = SmartConnect(api_key=key) print("[*] Generate access Token : ", obj.login_url())
-
@vishant thanks a lot, it worked out for me....
-
@vishant hi how to get api key?
-
@A224819 Please refer following thread:
https://smartapi.angelbroking.com/topic/42/modulenotfounderror/2 -
I don't understand how just importing the class can have errors:
-
@rjbanna Yes, I installed it.
sometime it not show any error sometimes it shows.
-
@kaleps You need to install smartapi through pip
-
@bhaveshjain @admin I am getting same error. Its not stable at all
-
@bhaveshjain yes thankyou i'm able to login now
-
@bhaveshjain Yes, now I'm able to login. Thanks
-
@dorje @rjbanna @vishant @grsoratoor Your account is migrated. Please check login flow.
-
This post is deleted! -
@bhaveshjain my client code - SUWC1001
-
@bhaveshjain Here's my client code -> R166881 Please get it migrated.
-
@bhaveshjain Hi Bhavesh, As your suggestion, I am sharing my account ID -> "G30645"
Please transfer asap, Thank you.
-
@dorje @vishant @rjbanna @grsoratoor
The SmartAPI call may display incorrect username or password error for accounts registered with our sub-brokers. We are in the process of migrating all the accounts registered with our sub-brokers to a new system in a phased manner. The activity should be completed in the coming few days. Until then to expedite the migration of your account on an immediate basis, please share your client code too while posting "Your user id or password is incorrect" or "error code: AB1007" query. Thank you. -
-
@vishant i'm having a direct angel broking account
-
@vishant Thank you the explanation. I opened my account directly from the Angel Broking and still facing the issue.
-