Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[autoreport] discord.errors.IHateThe3SecondsTimeout: 401 Unauthorized (error code: 50027): In #107

@NextFire

Description

@NextFire

Traceback

Traceback (most recent call last):
  File "/app/.venv/lib/python3.14/site-packages/discord/app_commands/commands.py", line 858, in _do_call
    return await self._callback(self.binding, interaction, **params)  # type: ignore
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/nanachan/discord/application_commands.py", line 140, in decorated
    return await func(cog, ctx, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/nanachan/extensions/waicolle.py", line 1336, in roll
    await ctx.reply('Roll aborted')
  File "/app/nanachan/discord/application_commands.py", line 51, in reply
    return await self.send(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/nanachan/discord/application_commands.py", line 73, in send
    message = await send(**kwargs)
              ^^^^^^^^^^^^^^^^^^^^
  File "/app/.venv/lib/python3.14/site-packages/discord/webhook/async_.py", line 1900, in send
    data = await adapter.execute_webhook(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<11 lines>...
    )
    ^
  File "/app/.venv/lib/python3.14/site-packages/discord/webhook/async_.py", line 224, in request
    raise IHateThe3SecondsTimeout(response, data)
discord.errors.IHateThe3SecondsTimeout: 401 Unauthorized (error code: 50027): Invalid Webhook Token

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/app/.venv/lib/python3.14/site-packages/discord/app_commands/tree.py", line 1293, in _call
    await command._invoke_with_namespace(interaction, namespace)
  File "/app/.venv/lib/python3.14/site-packages/discord/app_commands/commands.py", line 884, in _invoke_with_namespace
    return await self._do_call(interaction, transformed_values)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/.venv/lib/python3.14/site-packages/discord/app_commands/commands.py", line 877, in _do_call
    raise CommandInvokeError(self, e) from e
discord.app_commands.errors.CommandInvokeError: Command 'roll' raised an exception: IHateThe3SecondsTimeout: 401 Unauthorized (error code: 50027): Invalid Webhook Token

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/app/nanachan/discord/bot.py", line 221, in send_error
    await reply(message)
  File "/app/.venv/lib/python3.14/site-packages/discord/webhook/async_.py", line 1900, in send
    data = await adapter.execute_webhook(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<11 lines>...
    )
    ^
  File "/app/.venv/lib/python3.14/site-packages/discord/webhook/async_.py", line 224, in request
    raise IHateThe3SecondsTimeout(response, data)
discord.errors.IHateThe3SecondsTimeout: 401 Unauthorized (error code: 50027): Invalid Webhook Token

Initial user interaction

None

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions