#644·undiscord

Message search returns 401 Unauthorized before deletion

Author: PestermessCreated Jul 17, 2024Updated Jun 29, 2026

Undiscord Version

5.2.3

Browser

Firefox

Extension

Violentmonkey

Reproduction steps

  1. Open Discord.
  2. Open the Undiscord extension.
  3. Click Author ID.
  4. Click Server ID.
  5. Click Delete.

Actual results

The extension immediately fails while searching for messages and returns:

Fetching messages...
Error searching messages, API responded with status 401!
{"message":"401: Unauthorized","code":0}
CoreException {}

Expected results

The extension should search for my messages and begin deleting them instead of returning a 401 Unauthorized error.

Bug affects

  • DMs
  • Group DMs
  • Channels
  • NSFW Channels

Additional information

The issue occurs consistently and prevents the extension from searching or deleting any messages.