Skip to content
This repository has been archived by the owner on Oct 2, 2019. It is now read-only.

json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) #9

Open
eigenein opened this issue Feb 1, 2017 · 0 comments
Assignees

Comments

@eigenein
Copy link
Owner

eigenein commented Feb 1, 2017

01-31 02:48:36 [E] Failed to get updates.
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/aiotg/__init__.py", line 558, in loop
    updates = await self.telegram.get_updates(self.offset, self.limit, self.timeout)
  File "/usr/local/lib/python3.6/dist-packages/aiotg/__init__.py", line 397, in get_updates
    for update in await self.post("getUpdates", offset=offset, limit=limit, timeout=timeout)
  File "/usr/local/lib/python3.6/dist-packages/aiotg/__init__.py", line 493, in post
    payload = await response.json()
  File "/usr/local/lib/python3.6/dist-packages/aiohttp/client_reqrep.py", line 772, in json
    return loads(stripped.decode(encoding))
  File "/usr/lib/python3.6/json/__init__.py", line 354, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python3.6/json/decoder.py", line 339, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python3.6/json/decoder.py", line 357, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
@eigenein eigenein self-assigned this Feb 1, 2017
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