GetLineApiAuthToken icon indicating copy to clipboard operation
GetLineApiAuthToken copied to clipboard

i cant login to this

Open tomocrafter opened this issue 8 years ago • 0 comments

When i run this to output is like that

Traceback (most recent call last): File "/usr/lib64/python2.7/runpy.py", line 162, in _run_module_as_main "main", fname, loader, pkg_name) File "/usr/lib64/python2.7/runpy.py", line 72, in _run_code exec code in run_globals File "/root/GetLineApiAuthToken/main.py", line 15, in authToken = GetLineAuthToken(username, password); File "/root/GetLineApiAuthToken/main.py", line 7, in GetLineAuthToken return LineClient(username, password).authToken; File "GetLineApiAuthToken/line/client.py", line 318, in init self.login() File "GetLineApiAuthToken/line/client.py", line 348, in login j = self.get_json(self.LINE_SESSION_LINE_URL) File "GetLineApiAuthToken/line/client.py", line 510, in get_json return json.loads(self._session.get(url, headers=self._headers).text) File "/usr/lib64/python2.7/json/init.py", line 338, in loads return _default_decoder.decode(s) File "/usr/lib64/python2.7/json/decoder.py", line 366, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/usr/lib64/python2.7/json/decoder.py", line 384, in raw_decode raise ValueError("No JSON object could be decoded") ValueError: No JSON object could be decoded

tomocrafter avatar May 30 '17 04:05 tomocrafter