Skip to content

NotFound: 404 Not Found (error code: 10062): Unknown interaction #62

@sentry

Description

@sentry

Sentry Issue: BRIDGER-1S

NotFound: 404 Not Found (error code: 10062): Unknown interaction
  File "bridger/cogs/mqtt.py", line 141, in list_accounts
    await ctx.response.send_message(

CommandInvokeError: Command 'list-accounts' raised an exception: NotFound: 404 Not Found (error code: 10062): Unknown interaction
  File "discord/app_commands/tree.py", line 1310, in _call
    await command._invoke_with_namespace(interaction, namespace)
  File "discord/app_commands/commands.py", line 883, in _invoke_with_namespace
    return await self._do_call(interaction, transformed_values)
  File "discord/app_commands/commands.py", line 876, in _do_call
    raise CommandInvokeError(self, e) from e

NotFound: 404 Not Found (error code: 10062): Unknown interaction
(1 additional frame(s) were not displayed)
...
  File "bridger/cogs/mqtt.py", line 88, in cog_app_command_error
    await interaction.response.send_message(

Task exception was never retrieved
future: <Task finished name='CommandTree-invoker' coro=<CommandTree._from_interaction.<locals>.wrapper() done, defined at /usr/local/lib/python3.12/site-packages/discord/app_commands/tree.py:1149> exception=NotFound('404 Not Found (error code: 10062): Unknown interaction')>

Note to self: I produced this error but I am not quite sure how to reproduce it (it worked the second time). Maybe just catch and ignore / log it.

Metadata

Metadata

Assignees

No one assigned

    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