undiscord
undiscord copied to clipboard
API responded with status 401!
Undiscord Version
v5.2.1
Browser
Firefox 111.0.1 (64-bit)
Extension
TamperMonkey 4.18.1 2022-11-13
Reproduction steps
- Open browser and navigate to discord.com.
- Open UnDiscord.
- Open a DM you want to wipe/delete.
- Filled required boxes to perform wipe. (Author ID, Server ID, Channel ID).
- Attempt to delete messages.
Actual results
Started at 4/2/2023, 6:18:31 PM authorId = "[REDACTED]" guildId = "[REDACTED]" channelId = "[REDACTED]" minId = "[REDACTED]" maxId = "[REDACTED]" hasLink = false hasFile = false Fetching messages... Error searching messages, API responded with status 401! {"message":"401: Unauthorized","code":0} CoreException {}
Expected results
For it to properly delete my messages.
Bug affects
- [x] DMs
- [ ] DMs (group)
- [ ] Channels
- [ ] Channel (NSFW)
Additional information & file uploads
I did manually fill my token after initially encountering this issue, but it did not have any effect on the actual results. I'm at a loss for what's causing this error.
^^ Experiencing this too
Same here
same
Same here.
Same here
Same here.
damn, this blew up. how are so many people having this issue..?
@slycooper724 @ReadyCash2222 @Aldosari-95 @Alex-Jud @Deleterman21 @amytori @LavenderAndChamomile @yourlocalcodemonkey i don't think anything blew up. guys. just put your authToken in the right place! https://github.com/victornpb/undiscord/wiki/authToken
I'm still getting the problem and and my authToken is correct.
"Error searching messages, API responded with status 400!"
@dotPHUNK yup having the same issue.
@slycooper724 @ReadyCash2222 @Aldosari-95 @Alex-Jud @Deleterman21 @amytori @LavenderAndChamomile @yourlocalcodemonkey i don't think anything blew up. guys. just put your authToken in the right place! https://github.com/victornpb/undiscord/wiki/authToken
I did exactly the steps shown on my browser and still didn't work.
I have even tried the previous version v5.2.0 and I still get the same issue.
I'm also getting this message - I tried looking for auth token information, I went to do the copy/paste version and got 100 scam warnings. When I went to the logs in F12, I was getting a 404 not found error every time I tried to run it. Help!
same problem 0 fix yet
I'm also getting this message - I tried looking for auth token information, I went to do the copy/paste version and got 100 scam warnings. When I went to the logs in F12, I was getting a 404 not found error every time I tried to run it. Help!
That's normal for the scam warnings.
I must also note that even trying the most recent version of undiscord on Edge, I also got the same error.
This is likely caused by the authentication token not being set correctly see https://github.com/victornpb/undiscord/wiki/authToken
However, after setting the advanced setting I was still getting an error but it was a 400 error and not the 401 error reported on this issue.
I too am getting this issue, was getting a 401 error code then attempted the authentication token fix and now get a 400 error code.
Fetching messages... Error searching messages, API responded with status 400! {"code":50035,"errors":{"max_id":{"_errors":[{"code":"NUMBER_TYPE_COERCE","message":"Value \"[email protected]\" is not snowflake."}]}},"message":"Invalid Form Body"} CoreException {}`
Edit: I was able to get the script working on opera, but firefox and chrome would not work.
I too am getting this issue, was getting a 401 error code then attempted the authentication token fix and now get a 400 error code.
Fetching messages... Error searching messages, API responded with status 400! {"code":50035,"errors":{"max_id":{"_errors":[{"code":"NUMBER_TYPE_COERCE","message":"Value \"[email protected]\" is not snowflake."}]}},"message":"Invalid Form Body"} CoreException {}`
Edit: I was able to get the script working on opera, but firefox and chrome would not work.
Were you able to successfully mass delete messages in Discord? If yes, could you please break it down for me?
I too am getting this issue, was getting a 401 error code then attempted the authentication token fix and now get a 400 error code.
Fetching messages... Error searching messages, API responded with status 400! {"code":50035,"errors":{"max_id":{"_errors":[{"code":"NUMBER_TYPE_COERCE","message":"Value \"[email protected]\" is not snowflake."}]}},"message":"Invalid Form Body"} CoreException {}`
Edit: I was able to get the script working on opera, but firefox and chrome would not work.Were you able to successfully mass delete messages in Discord? If yes, could you please break it down for me?
Yes I could mass delete messages in Discord. All I did was install the script in a different browser. I wonder if its some kind of browser cache issue?
I too am getting this issue, was getting a 401 error code then attempted the authentication token fix and now get a 400 error code.
Fetching messages... Error searching messages, API responded with status 400! {"code":50035,"errors":{"max_id":{"_errors":[{"code":"NUMBER_TYPE_COERCE","message":"Value \"[email protected]\" is not snowflake."}]}},"message":"Invalid Form Body"} CoreException {}`
Edit: I was able to get the script working on opera, but firefox and chrome would not work.Were you able to successfully mass delete messages in Discord? If yes, could you please break it down for me?
Yes I could mass delete messages in Discord. All I did was install the script in a different browser. I wonder if its some kind of browser cache issue?
Yeah it doesnβt work on chrome for me either
I can confirm that I am also having this issue, I'm thinking perhaps some update in discord did indeed cause this because i never had the issue not so long ago, i think it was after the discord update that introduced the customizable global themes
I just tried a few minutes ago. (Chrome/Windows) I had the same issue.
EDIT 1: I went in and did the Advanced Fill fix and this was the result:
Started at 4/20/2023, 11:20:01 AM authorId = "XXX" guildId = "XXX" channelId = "XXX" minId = "" maxId = "XXX" hasLink = false hasFile = false Fetching messages... Grand total: 0 (Messages in current page: 0 To be deleted: 0 Skipped: 0) offset: 0 Delete delay: 1000ms, Search delay: 30000ms Last Ping: 375ms, Average Ping: 151ms Rate Limited: 0 times. Total time throttled: 0h 0m 0s. Estimated time remaining: 0h 0m 0s Ended because API returned an empty page. [End state] {"running":true,"delCount":0,"failCount":0,"grandTotal":0,"offset":0,"iterations":1,"_seachResponse":{"analytics_id":"XXX","doing_deep_historical_index":false,"total_results":0,"messages":[]},"_messagesToDelete":[],"_skippedMessages":[]} Waiting 30.00s before next page... Ended at 4/20/2023, 11:20:31 AM! Total time: 0h 0m 30s Delete delay: 1000ms, Search delay: 30000ms Last Ping: 375ms, Average Ping: 151ms Rate Limited: 0 times. Total time throttled: 0h 0m 0s. Deleted 0 messages, 0 failed.
So essentially it allowed it to complete but it didn't actually delete anything.
For those of you getting this on firefox [ or chrome ], try using incognito. Worked for me!
For those of you getting this on firefox [ or chrome ], try using incognito. Worked for me!
I can confirm that this works!
For those of you getting this on firefox [ or chrome ], try using incognito. Worked for me!
I can confirm that this works!
yep, just need to add the extension [ tamper/greasemonkey ] in normal mode and then use it in incognito ;)
For those of you getting this on firefox [ or chrome ], try using incognito. Worked for me!
This works and seems to be the only solution for now. Thanks!
For those of you getting this on firefox [ or chrome ], try using incognito. Worked for me!
This works and seems to be the only solution for now. Thanks!
When I try using incognito mode, I have to redownload the script from the website. However, the download process is different from if I were to download it regularly.
It directly installs a JavaScript file into my Downloads folder and I have no idea what I should do next. The π
icon still does not show after the file is downloaded.
Can you explain how you got it to work for you in Incognito mode so I can also fix this issue? Thank you.
[UPDATE]
I have fixed the issue, and going into Incognito mode is not required. You just have to downgrade Undiscord into an older version.
For those of you getting this on firefox [ or chrome ], try using incognito. Worked for me!
This works and seems to be the only solution for now. Thanks!
When I try using incognito mode, I have to redownload the script from the website. However, the download process is different from if I were to download it regularly.
It directly installs a JavaScript file into my Downloads folder and I have no idea what I should do next. The
π
icon still does not show after the file is downloaded.Can you explain how you got it to work for you in Incognito mode so I can also fix this issue? Thank you.
[UPDATE]
I have fixed the issue, and going into Incognito mode is not required. You just have to downgrade Undiscord into an older version.
As far as I know, you don't have to redownload any script. You just need to set it up normally as you would without incognito.
Once that's done, you can now open incognito tab and login to discord.com/login. Then proceed normally.
For those of you getting this on firefox [ or chrome ], try using incognito. Worked for me!
This works and seems to be the only solution for now. Thanks!
When I try using incognito mode, I have to redownload the script from the website. However, the download process is different from if I were to download it regularly. It directly installs a JavaScript file into my Downloads folder and I have no idea what I should do next. The
π
icon still does not show after the file is downloaded. Can you explain how you got it to work for you in Incognito mode so I can also fix this issue? Thank you.[UPDATE]
I have fixed the issue, and going into Incognito mode is not required. You just have to downgrade Undiscord into an older version.
As far as I know, you don't have to redownload any script. You just need to set it up normally as you would without incognito.
Once that's done, you can now open incognito tab and login to discord.com/login. Then proceed normally.
For me, when I went into incognito mode with Undiscord previously set up, the π
icon did not show up on Discord in the browser. That's why I resorted to reinstalling the script, which didn't work out, so I downgraded.