victornpb / undiscord

Undiscord - Delete all messages in a Discord server / channel or DM (Easy and fast) Bulk delete
https://victornpb.github.io/undiscord
MIT License
5.24k stars 717 forks source link

Error deleting message, API responded with status 403! {"message":"Cannot execute action on a DM channel","code":50003} #633

Open tyfertofu99 opened 3 months ago

tyfertofu99 commented 3 months ago

Undiscord Version

5.2.3

Browser

Google Chrome 125.0.6422.112 (Official Build) (64-bit)

Extension

TamperMonkey

Reproduction steps

  1. added the authid, channel id and server id correctly, to bulk delete dms
  2. hit the delete button
  3. the deletion process gets looped by being unable to delete the messages by showing me this error: "Error deleting message, API responded with status 403! {"message":"Cannot execute action on a DM channel","code":50003}"

Actual results

image

Expected results

to delete discord dms from both sides

Bug affects

Additional information & file uploads

no additional info

PesterMess commented 3 months ago

Developer, just please update your software!

LastPlayerTR commented 3 months ago

Does it trying to delete your DM's or other person's messages?

JerryTangy commented 3 months ago

same here, but trying to delete index.json.

LastPlayerTR commented 3 months ago

@JerryTangy https://github.com/victornpb/undiscord/pull/603

WinterRidozi commented 3 months ago

here is the solutions: Fill Authorization token in Advanced Settings Next is Delete all saved password in the browser for discord.com (chrome://password-manager/passwords) done. try it

Foxy-null commented 2 months ago

Try incognito mode.

I've gotten it to work correctly for me this way. I think other extensions in Chrome are interfering with the operation.

PesterMess commented 1 month ago

Try incognito mode.

I've gotten it to work correctly for me this way. I think other extensions in Chrome are interfering with the operation.

Doesn't work. Don't know why that would've worked in the first place...

losbagos commented 1 month ago

deleting the saved passwords on google password manager fixed it for me, after trying every other solution. use undiscord everyday until i saved the password then it stopped working.

Foxy-null commented 1 month ago

Doesn't work. Don't know why that would've worked in the first place...

I'm sorry to hear that... In my case, my other Chrome stuff (like extensions) conflicted with the Undiscord script.

Have you tried deleting all saved passwords in Chrome? As Losbagos mentioned, I often see this solution in this community as well.

PesterMess commented 1 month ago

deleting the saved passwords on google password manager fixed it for me, after trying every other solution. use undiscord everyday until i saved the password then it stopped working.

I'm not using chrome. I'm on Firefox...

PesterMess commented 1 month ago

Doesn't work. Don't know why that would've worked in the first place...

I'm sorry to hear that... In my case, my other Chrome stuff (like extensions) conflicted with the Undiscord script.

Have you tried deleting all saved passwords in Chrome? As Losbagos mentioned, I often see this solution in this community as well.

I'm not using Google Chrome. I simply use Firefox for all of my tasks. Firefox's password manager isn't crap like Google Chrome's is.

PesterMess commented 1 month ago

rude as such? Get Outlook for iOShttps://aka.ms/o0ukef ____ From: Pester Mess @.> Sent: Wednesday, July 17, 2024 2:02 AM To: victornpb/undiscord @.> Cc: Retrogamer705 @.>; Comment @.> Subject: Re: [victornpb/undiscord] Error deleting message, API responded with status 403! {"message":"Cannot execute action on a DM channel","code":50003} (Issue #633) i think if u deleted a lot of messages before running undiscord, it tries to delete the deleted messages again then runs into an error so u could pray Doesn't help me with my situation. — Reply to this email directly, view it on GitHub<#633 (comment)>, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BJLB26E6CWAWCP5KGNO3NB3ZMYCFRAVCNFSM6AAAAABIJXW5C6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMZSGQ4TANZVGA. You are receiving this because you commented.Message ID: @.***>

Are you talking to me?