Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

decoder.py issue #7

Open
totorankfast opened this issue Jan 19, 2022 · 0 comments
Open

decoder.py issue #7

totorankfast opened this issue Jan 19, 2022 · 0 comments

Comments

@totorankfast
Copy link

I'm getting this kind of issue, how to resolve this
Ubuntu 18,DigitalOcean

This user received his QR Code : user 123
Discord ID : 8864175802
Current time : 12:57:45
Ignoring exception in on_message
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/discord/client.py", line 343, in _run_event
await coro(*args, **kwargs)
File "./QrCodeBot-xyZ.py", line 37, in on_message
rawMessage = getRawMessage()
File "/root/QrCodeBot-xyZ/QRCodeBot.py", line 15, in getRawMessage
json_data = json.loads(r.text)
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)

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

No branches or pull requests

1 participant