Message deletion fails with 401 Unauthorized
Author: PestermessCreated Apr 4, 2024Updated Jun 29, 2026
Undiscord Version
5.2.3
Browser
Firefox (latest)
Extension
Violentmonkey
Reproduction steps
- Open Discord.
- Launch Undiscord.
- Click the buttons to automatically fill the Author ID and Server ID.
- 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 {}No messages are deleted.
Expected results
The extension should search for my messages and begin deleting them without returning a 401 Unauthorized error.
Bug affects
- DMs
- Group DMs
- Channels
- NSFW Channels
Additional information & file uploads
The issue occurs every time and is consistently reproducible.
Source: victornpb/undiscord