Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AliceBlue.login_and_get_sessionID Error #517

Open
vgoyal72 opened this issue Feb 13, 2025 · 0 comments
Open

AliceBlue.login_and_get_sessionID Error #517

vgoyal72 opened this issue Feb 13, 2025 · 0 comments

Comments

@vgoyal72
Copy link

While calling session_id = AliceBlue.login_and_get_sessionID getting the following error:

File "C:\Users\HP\AppData\Local\Programs\Python\Python38\lib\site-packages\alice_blue\alice_blue.py", line 216, in login_and_get_sessionID
isAuthorized = r.json()['isAuthorized']
File "C:\Users\HP\AppData\Local\Programs\Python\Python38\lib\site-packages\requests\models.py", line 900, in json
return complexjson.loads(self.text, **kwargs)
File "C:\Users\HP\AppData\Local\Programs\Python\Python38\lib\json_init_.py", line 357, in loads
return _default_decoder.decode(s)
File "C:\Users\HP\AppData\Local\Programs\Python\Python38\lib\json\decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "C:\Users\HP\AppData\Local\Programs\Python\Python38\lib\json\decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

Can any one please help?

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant