Jump to content

Error

Pending 1.0.0

chrisfps

Posted (edited)

I'm obtaining the following error:

Connection to  established
 

Connection to  established
Traceback (most recent call last):
  File "/home/container/.local/lib/python3.10/site-packages/discord/http.py", line 816, in static_login
    data = await self.request(Route('GET', '/users/@me'))
  File "/home/container/.local/lib/python3.10/site-packages/discord/http.py", line 758, in request
    raise HTTPException(response, data)
discord.errors.HTTPException: 401 Unauthorized (error code: 0): 401: Unauthorized
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
  File "/home/container/main.py", line 65, in <module>
    asyncio.run(setup_all_bots())
  File "/usr/local/lib/python3.10/asyncio/runners.py", line 44, in run
    return loop.run_until_complete(main)
  File "/usr/local/lib/python3.10/asyncio/base_events.py", line 649, in run_until_complete
    return future.result()
  File "/home/container/main.py", line 62, in setup_all_bots
    await asyncio.gather(*tasks)
  File "/home/container/main.py", line 41, in run_global_bot
    await bot.start(token)
  File "/home/container/.local/lib/python3.10/site-packages/discord/client.py", line 786, in start
    await self.login(token)
  File "/home/container/.local/lib/python3.10/site-packages/discord/client.py", line 620, in login
    data = await self.http.static_login(token)
  File "/home/container/.local/lib/python3.10/site-packages/discord/http.py", line 820, in static_login
    raise LoginFailure('Improper token has been passed.') from exc
discord.errors.LoginFailure: Improper token has been passed.
Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x7f1dc14e7fa0>
Unclosed connector
connections: ['[(<aiohttp.client_proto.ResponseHandler object at 0x7f1dc14df5e0>, 19545493.886016846)]']
connector: <aiohttp.connector.TCPConnector object at 0x7f1dc14e61a0>
Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x7f1dc14e6830>
Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x7f1dc14e6fb0>

 

Edited by chrisfps
1.7m

Downloads

Total number of downloads.

7.9k

Customers

Total customers served.

119.4k

Files Sold

Total number of files sold.

2.4m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.