'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....
- topic:timeago_earlier,5 months
-
@vishant hi how to get api key?
-
@A224819 Please refer following thread:
https://smartapi.angelbroking.com/topic/42/modulenotfounderror/2 -
-
-
@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
-
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.
-
-
@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.
-
-
Hi @grsoratoor,
I agree with @rjbanna , the User Id, password error is the issue from Angel Broking API servers. There is no language / platform-specific error as I have tried NodeJS & Python SDK.
I had tried with another account(userId & password) for which I am facing the same error(Node & Python). "YOUR USER ID OR PASSWORD IS INVALID".
The screenshot which I have shared is working credentials.I was facing this error with the account opened through a sub-broker.
@grsoratoor , @rjbanna , @dorje : Could you please confirm you are having a direct angel broking account OR via sub-broker??
PS: you can try another angel account of friends/ family members if available. That might work.
-