Skip to content
This repository has been archived by the owner on Mar 15, 2022. It is now read-only.

"No JSON could be decoded" Error! I know we shouldn publish erros but like does someone know what is going on there #59

Open
Githubmaster9089 opened this issue Mar 3, 2021 · 0 comments

Comments

@Githubmaster9089
Copy link

I have a JSON error pls help me!!!

Exception in thread YT_THREAD:
Traceback (most recent call last):
File "C:\Python27\lib\threading.py", line 801, in __bootstrap_inner
self.run()
File "C:\Python27\lib\threading.py", line 754, in run
self.__target(*self.__args, **self.__kwargs)
File "yt.py", line 72, in subscribe_wrapper
session = youtube_session(email, password)
File "yt.py", line 49, in youtube_session
google = authenticator.Glogin()
, line 130, in Glogin
token=self.__g_token(),
, line 83, in _g_token
return json.loads((response.content).replace(")]}'",""))[0][0][2]
File "C:\Python27\lib\json_init
.py", line 339, in loads
return _default_decoder.decode(s)
File "C:\Python27\lib\json\decoder.py", line 364, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "C:\Python27\lib\json\decoder.py", line 382, in raw_decode
raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded

Thanks for help!

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

No branches or pull requests

1 participant