Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wipe Archive Issue #509

Open
4 tasks
Oz1e opened this issue Jun 7, 2023 · 9 comments
Open
4 tasks

Wipe Archive Issue #509

Oz1e opened this issue Jun 7, 2023 · 9 comments

Comments

@Oz1e
Copy link

Oz1e commented Jun 7, 2023

Undiscord Version

5.2.1

Browser

114.0.5735.90 (Official Build) (64-bit)

Extension

TamperMonkey

Reproduction steps

1.Click the trash logo and open up the menu
2.Click "Wipe Archive"
3.Import the .json file
4. Error

Actual results

Error says:
Runnning batch with queue of 306 jobs
Starting job... (1/306)

Started at 6/7/2023, 8:28:51 AM
authorId = ( I think this is personal so I wont show )
Fetching messages...
Error searching messages, API responded with status 403!
{"message":"Missing Access","code":50001}
CoreException {}
Ended at 6/7/2023, 8:28:51 AM! Total time: 0h 0m 0s
Delete delay: 1050ms, Search delay: 29000ms Last Ping: 175ms, Average Ping: 178ms
Rate Limited: 34 times. Total time throttled: 0h 0m 26s.
Deleted 0 messages, 0 failed.

Expected results

To wipe out my messages.

Bug affects

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

Additional information & file uploads

image

@Oz1e
Copy link
Author

Oz1e commented Jun 7, 2023

If not that it just stays loading but never makes progress.

@Seemefly
Copy link

Seemefly commented Jun 7, 2023

Yeah I have had the same issue, I tried pressing the fill authorization slot but that didn't work either.

@yemouu
Copy link

yemouu commented Jun 21, 2023

I think this may be caused by group dms you are no longer a part of.
For me, inside the index.json there are some channel ids that instead of saying Direct Message with <person> just said null. Deleting the lines with null inside the index.json allowed me to continue.

It's probably best to make a copy of your index.json before trying this.

@fairywand
Copy link

fairywand commented Jun 29, 2023

I think this may be caused by group dms you are no longer a part of. For me, inside the index.json there are some channel ids that instead of saying Direct Message with <person> just said null. Deleting the lines with null inside the index.json allowed me to continue.

It's probably best to make a copy of your index.json before trying this.

This isn't working for me, did you also delete the comma after the null or did you just leave them?

@Lordsem
Copy link

Lordsem commented Jul 7, 2023

if that were the entry

, "1234567890": null,

then you need to delete:

  • the channel id with the quotes
  • the colon
  • the entry null
  • one of the two commas

@Shungy
Copy link

Shungy commented Aug 27, 2023

Removing null does not solve this fully. There are two more things to consider.

  1. If you are part of a server but your access was removed from the channel. You would still know the channel name (private channel names are public), but your access would be denied.
  2. If a thread was archived, because deleting from archived threads is not possible. There is a work around: you can send a message to a thread to reactivate it and then it will work.

A fix to Undiscord is needed. When iterating index.json, some of the errors that would normally cause a revert should instead just skip the channel.

@OzzyDFS
Copy link

OzzyDFS commented Aug 30, 2023

I'm having the same issue when trying to use the wipe archive feature. I even edited the json file to only include 2 servers that I know I have access to. I have tried everything. Upgrading undiscord, using incognito, clearing cookies. I still get the same 400 error.


Runnning batch with queue of 2 jobs
Starting job... (1/2)

Started at 8/30/2023, 5:01:34 PM
authorId = "" guildId = "@me" channelId = "*" minId = "" maxId = "" hasLink = false hasFile = false
Fetching messages...
Error searching messages, API responded with status 400!
{"message":"Cannot execute action on this channel type","code":50024}

@TheStressedDude
Copy link

I mean I try to do the wipe archive thing, but Discord wont give it to me after I requested it from them, so does any of you know, how I can have the tampermonkey script running in the background without it pausing when I switch tab to study and so on?

@ghost
Copy link

ghost commented Dec 28, 2023

I'm having the same issue when trying to use the wipe archive feature. I even edited the json file to only include 2 servers that I know I have access to. I have tried everything. Upgrading undiscord, using incognito, clearing cookies. I still get the same 400 error.

Runnning batch with queue of 2 jobs Starting job... (1/2)

Started at 8/30/2023, 5:01:34 PM authorId = "" guildId = "@me" channelId = "*" minId = "" maxId = "" hasLink = false hasFile = false Fetching messages... Error searching messages, API responded with status 400! {"message":"Cannot execute action on this channel type","code":50024}

this been happening to me to channels in servers that do exist, and where i can delete messages manually as well... all while trying to use the json
ive filled my token and even tried incognito, but nothing. this is weird and ive found no fixes yet

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants