BOT IS READY ! Version: 3.3.5 Task exception was never retrieved future: .wrapper() done, defined at C:\Users\harle\AppData\Local\Programs\Python\Python310\lib\site-packages\discord\app_commands\tree.py:1087> exception=ValueError('Both or neither of value and tb must be given')> Traceback (most recent call last): File "C:\Users\harle\AppData\Local\Programs\Python\Python310\lib\site-packages\discord\app_commands\commands.py", line 861, in _do_call return await self._callback(self.binding, interaction, **params) # type: ignore File "C:\Users\harle\Desktop\Codes\Discord Bots\Valorant-DiscordBot-3.3.5\cogs\valorant.py", line 93, in login authenticate = await auth.authenticate(username, password) File "C:\Users\harle\Desktop\Codes\Discord Bots\Valorant-DiscordBot-3.3.5\utils\valorant\auth.py", line 121, in authenticate data = await r.json() File "C:\Users\harle\AppData\Local\Programs\Python\Python310\lib\site-packages\aiohttp\client_reqrep.py", line 1103, in json raise ContentTypeError( aiohttp.client_exceptions.ContentTypeError: 0, message='Attempt to decode JSON with unexpected mimetype: text/html; charset=utf-8', url=URL('https://auth.riotgames.com/api/v1/authorization') The above exception was the direct cause of the following exception: Traceback (most recent call last): File "C:\Users\harle\AppData\Local\Programs\Python\Python310\lib\site-packages\discord\app_commands\tree.py", line 1240, in _call await command._invoke_with_namespace(interaction, namespace) File "C:\Users\harle\AppData\Local\Programs\Python\Python310\lib\site-packages\discord\app_commands\commands.py", line 887, in _invoke_with_namespace return await self._do_call(interaction, transformed_values) File "C:\Users\harle\AppData\Local\Programs\Python\Python310\lib\site-packages\discord\app_commands\commands.py", line 880, in _do_call raise CommandInvokeError(self, e) from e discord.app_commands.errors.CommandInvokeError: Command 'login' raised an exception: ContentTypeError: 0, message='Attempt to decode JSON with unexpected mimetype: text/html; charset=utf-8', url=URL('https://auth.riotgames.com/api/v1/authorization') During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\harle\AppData\Local\Programs\Python\Python310\lib\site-packages\discord\app_commands\tree.py", line 1089, in wrapper await self._call(interaction) File "C:\Users\harle\AppData\Local\Programs\Python\Python310\lib\site-packages\discord\app_commands\tree.py", line 1244, in _call await self.on_error(interaction, e) File "C:\Users\harle\Desktop\Codes\Discord Bots\Valorant-DiscordBot-3.3.5\cogs\errors.py", line 51, in on_app_command_error traceback.print_exception(type(error), error) File "C:\Users\harle\AppData\Local\Programs\Python\Python310\lib\traceback.py", line 116, in print_exception value, tb = _parse_value_tb(exc, value, tb) File "C:\Users\harle\AppData\Local\Programs\Python\Python310\lib\traceback.py", line 95, in _parse_value_tb raise ValueError("Both or neither of value and tb must be given") ValueError: Both or neither of value and tb must be given Unclosed client session client_session: Unclosed connector connections: ['[(, 455.562)]'] connector: