Closed Chiroyce1 closed 2 years ago
Thank you so much for the PR. I will merge this and upload to pypi in the next version of ScratchConnect...
Traceback (most recent call last): File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchconnect/ScratchConnect.py", line 56, in _login request.json() File "/opt/virtualenvs/python3/lib/python3.8/site-packages/requests/models.py", line 910, in json return complexjson.loads(self.text, **kwargs) File "/usr/lib/python3.8/json/init.py", line 357, in loads return _default_decoder.decode(s) File "/usr/lib/python3.8/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/usr/lib/python3.8/json/decoder.py", line 355, in raw_decode raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 2 column 1 (char 1)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "main.py", line 8, in
@suvidhpawar Are you trying to login from replit? Try cookie login instead or try in your local computer...
Since a lot of users are having issues with ForbiddenLogin, I decided to make the message a bit more descriptive so that they can fix the issue more quickly.