[BUG] Only 25 messages to be deleted?

See original GitHub issue

Describe the bug If there is input for “after message with ID / before message with ID”, it simply won’t work. Says API returned an empty page or searches for like 117 messages but only deletes 25 and aborts, without any of the messages having been deleted in the meantime.

To Reproduce Steps to reproduce the behavior:

  1. Go to a server and channel of your choice;
  2. Fill in the authorization, guild ID and after message with ID / before message blanks.
  3. See error
  4. Retry with the ID of the channel selected
  5. See error
  6. Retry changing the message IDs to the previous or next message for both the cases, extending or shortening the total to be deleted by 2 messages; image
  7. See error

Screenshots / Logs image image

Started at 21/09/2021, 07:41:36
authorId="REDACTED" guildId="REDACTED" channelId="REDACTED" minId="REDACTED" maxId="REDACTED" hasLink=false hasFile=false
Total messages found: 117	(Messages in current page: 25, To be deleted: 25, System: 0)	offset: 0
Delete delay: 1000ms, Search delay: 100ms	Last Ping: 235ms, Average Ping: 235ms
Estimated time remaining: 0h 2m 24s
Waiting for your confirmation...
OK
0.85% (1/117)	Deleting ID:REDACTED REDACTED (REDACTED): REDACTED	
1.71% (2/117)	Deleting ID:REDACTED REDACTED (REDACTED): REDACTED	
2.56% (3/117)	Deleting ID:REDACTED REDACTED (REDACTED): REDACTED	
3.42% (4/117)	Deleting ID:REDACTED REDACTED (REDACTED): REDACTED	
4.27% (5/117)	Deleting ID:REDACTED REDACTED (REDACTED): REDACTED	
5.13% (6/117)	Deleting ID:REDACTED REDACTED (REDACTED): REDACTED	
5.98% (7/117)	Deleting ID:REDACTED REDACTED (REDACTED): REDACTED	
6.84% (8/117)	Deleting ID:REDACTED REDACTED (REDACTED): REDACTED	
7.69% (9/117)	Deleting ID:REDACTED REDACTED (REDACTED): REDACTED	
8.55% (10/117)	Deleting ID:REDACTED REDACTED (REDACTED): REDACTED	
9.40% (11/117)	Deleting ID:REDACTED REDACTED (REDACTED): REDACTED	
10.26% (12/117)	Deleting ID:REDACTED REDACTED (REDACTED): REDACTED	
11.11% (13/117)	Deleting ID:REDACTED REDACTED (REDACTED): REDACTED	
11.97% (14/117)	Deleting ID:REDACTED REDACTED (REDACTED): REDACTED	
12.82% (15/117)	Deleting ID:REDACTED REDACTED (REDACTED): REDACTED	
13.68% (16/117)	Deleting ID:REDACTED REDACTED (REDACTED): REDACTED	
14.53% (17/117)	Deleting ID:REDACTED REDACTED (REDACTED): REDACTED	
15.38% (18/117)	Deleting ID:REDACTED REDACTED (REDACTED): REDACTED	
16.24% (19/117)	Deleting ID:REDACTED REDACTED (REDACTED): REDACTED	
17.09% (20/117)	Deleting ID:REDACTED REDACTED (REDACTED): REDACTED	
17.95% (21/117)	Deleting ID:REDACTED REDACTED (REDACTED): REDACTED	
18.80% (22/117)	Deleting ID:REDACTED REDACTED (REDACTED): REDACTED	
19.66% (23/117)	Deleting ID:REDACTED REDACTED (REDACTED): REDACTED	
20.51% (24/117)	Deleting ID:REDACTED REDACTED (REDACTED): REDACTED	
21.37% (25/117)	Deleting ID:REDACTED REDACTED (REDACTED): REDACTED	
Searching next messages in 100ms...	
Total messages found: 117	(Messages in current page: 0, To be deleted: 0, System: 0)	offset: 0
Delete delay: 1000ms, Search delay: 100ms	Last Ping: 252ms, Average Ping: 225ms
Estimated time remaining: 0h 2m 23s
Ended because API returned an empty page.
Ended at 21/09/2021, 07:42:13! Total time: 0h 0m 37s
Delete delay: 1000ms, Search delay: 100ms	Last Ping: 252ms, Average Ping: 225ms
Rate Limited: 0 times. Total time throttled: 0h 0m 0s.
Deleted 25 messages, 0 failed.

Affects (Add an X to items that apply)

  • DMs
  • DM Groups
  • Channel
  • Channel (NSFW)
  • Server (All Channels)
  • Other (explain)

System:

  • OS: Windows 10 21H1
  • Browser: Firefox 92.0 (64-bit)

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:8

github_iconTop GitHub Comments

3reactions
grimzecommented, Sep 21, 2021

same issue here, please let me know if you somehow manage to fix

0reactions
DevWannabe-dotcommented, Sep 23, 2021

turning search delay to 200 seems to have fixed it for me

it’s in a cycle of 25 messages per time now, but it works, that’s what matters 😃 thanks @Teodric I’ll close it now, but anyone can feel free to comment

Read more comments on GitHub >

github_iconTop Results From Across the Web

Can't delete iPhone texts after iOS 16 up… - Apple Community
Steps to fix: In the Messages app, go to Edit; Select "Show Recently Deleted"; Find the person / thread you want to delete,;...
Read more >
Can't understand why boxer doesn't work with gmail (bug most ...
Has any1 had a similar problem: gmail account in the new boxer app displays inbox, but can't open or delete messages.Me.com account works...
Read more >
[BUG] Not Deleting messages · Issue #258 · victornpb/undiscord
It's able to delete the first batch (25 messages) on a previously untouched channel/conversation. After the first round, unable to progress.
Read more >
UI bug resulted in all messages being deleted : r/ProtonMail
I got bit by this bug last month. Clicked on the "Delete all" while on search results in a folder and it moved...
Read more >
iOS 15 Messages Bug Causes Saved Photos to Be Deleted
A serious bug in the iOS 15 Messages app can cause some saved photos to be deleted, according to multiple complaints we've heard...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found