Skip to content

"Ended because API returned an empty page" with 10K messages left #471

Open
@Valcartier

Description

Undiscord Version

v5.2.0

Browser

111.0.5563.65 (Official Build) (64-bit)

Extension

TamperMonkey

Reproduction steps

  1. I initially had around 76K messages in a DM to delete
  2. I followed proper instructions, using TamperMonkey, and installed the script
  3. I ran the script, and bulk deleted around 66K messages in the span of 2-3 days
  4. This morning, I ran the script again with 10K messages remaining

Actual results

The actual result was that the window returned:

Fetching messages...
Grand total: 10565	(Messages in current page: 0	To be deleted: 0	Skipped: 0)	offset: 87
Ended because API returned an empty page.
[End condition A].	{"running":true,"delCount":0,"failCount":0,"grandTotal":10565,"offset":87,"iterations":5,"_seachResponse":{"total_results":10565,"messages":[],"analytics_id":"2c2bbd338e4da352bd5b5fce114bd10f"},"_messagesToDelete":[],"_skippedMessages":[]}

Expected results

I had expected the continuation of deletion

Bug affects

  • DMs
  • DMs (group)
  • Channels
  • Channel (NSFW)

Additional information & file uploads

None further

Metadata

Assignees

No one assigned

    Labels

    is-discord-breaking-changeIssue caused by a breaking change in Discord's API or Client

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions