YouTubeShop icon indicating copy to clipboard operation
YouTubeShop copied to clipboard

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

Open Githubmaster9089 opened this issue 3 years ago • 0 comments

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!

Githubmaster9089 avatar Mar 03 '21 15:03 Githubmaster9089