Answer the question
In order to leave comments, you need to log in
PNG upload error, what should I do?
Ignoring exception in command monika:
Traceback (most recent call last):
File "C:\Users\ilbaa\AppData\Local\Programs\Python\Python36\lib\site-packages\discord\ext\commands\core.py", line 85, in wrapped
ret = await coro(args, **kwargs)
File "C:\Users\ilbaa\Desktop\Monika.py", line 48, in monika
json_data = json.loads(response.text) # Extract JSON
File "C:\Users\ilbaa\AppData\Local\Programs\Python\Python36\lib\json__init__.py", line 354, in loads
return _default_decoder.decode(s)
File "C:\Users\ilbaa\AppData\Local \Programs\Python\Python36\lib\json\decoder.py", line 339, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "C:\Users\ilbaa\AppData\Local\Programs\Python\Python36\lib\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)
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Users\ilbaa\AppData\Local\Programs \Python\Python36\lib\site-packages\discord\ext\commands\bot.py", line 939, in invoke
await ctx.command.invoke(ctx)
File "C:\Users\ilbaa\AppData\Local\Programs \Python\Python36\lib\site-packages\discord\ext\commands\core.py", line 863, in invoke
await injected(ctx.args, **ctx.kwargs)
File "C:\Users\ilbaa\AppData\Local\Programs\Python\Python36\lib\site-packages\discord\ext\commands\core.py", line 94, in wrapped
raise CommandInvokeError(exc) from exc
discord. ext.commands.errors.CommandInvokeError: Command raised an exception: JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question