# "An error occurred: The requested URL or resource could not be found." when trying to delete user in moderation queue

**URL:** https://meta.discourse.org/t/an-error-occurred-the-requested-url-or-resource-could-not-be-found-when-trying-to-delete-user-in-moderation-queue/249637
**Category:** Bug
**Tags:** review-queue
**Created:** [December 22, 2022, 1:19am UTC](https://meta.discourse.org/t/an-error-occurred-the-requested-url-or-resource-could-not-be-found-when-trying-to-delete-user-in-moderation-queue/249637 "2022-12-22T01:19:08Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![Jonathan5](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jonathan5/32/197134_2.png) [@Jonathan5](https://meta.discourse.org/u/Jonathan5)
#### Post date: [December 22, 2022, 1:19am UTC](https://meta.discourse.org/t/an-error-occurred-the-requested-url-or-resource-could-not-be-found-when-trying-to-delete-user-in-moderation-queue/249637/1 "2022-12-22T01:19:08Z")

</div>

When I tried to delete a new user who’d posted a load of foreign-language spam I got this message. I’m on 2.9.0beta14. It was the same whichever of the two “delete” options I chose.

Edit: Just noticed that the user did get deleted (“Deleted via review queue”) so maybe I just clicked the button too many times.

---

<div class="post-metadata">

### Author: ![fhe](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fhe/32/113345_2.png) [@fhe](https://meta.discourse.org/u/fhe)
#### Post date: [February 2, 2023, 8:45am UTC](https://meta.discourse.org/t/an-error-occurred-the-requested-url-or-resource-could-not-be-found-when-trying-to-delete-user-in-moderation-queue/249637/2 "2023-02-02T08:45:50Z")

</div>

I’m also getting this repeatedly with 3.1.0.beta2. The user is deleted despite the error message (and I’ve only clicked once).

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [March 23, 2023, 10:13am UTC](https://meta.discourse.org/t/an-error-occurred-the-requested-url-or-resource-could-not-be-found-when-trying-to-delete-user-in-moderation-queue/249637/3 "2023-03-23T10:13:20Z")

</div>

Sorry for the delay, I meant to reply to this one at the time, but for some reason did not get round to posting the draft…

I also see this a fair bit when deleting spam users. Everything works as expected, but you do get the “An error occurred…” modal pop up, which can be misleading.

To replicate:

- Sign up test user
- Paste a chunk of _Lorem Ipsum_ in for their first post to trigger _'New user typed their first post suspiciously fast, suspected bot or spammer behavior.`_
- When reviewing, select ‘delete user’
- Receive error modal (though everything has worked and the user has been deleted)

---

<div class="post-metadata">

### Author: ![LordSimal](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lordsimal/32/316003_2.png) [@LordSimal](https://meta.discourse.org/u/LordSimal)
#### Post date: [July 15, 2023, 11:32am UTC](https://meta.discourse.org/t/an-error-occurred-the-requested-url-or-resource-could-not-be-found-when-trying-to-delete-user-in-moderation-queue/249637/15 "2023-07-15T11:32:18Z")

</div>

This happens for me with just one user and message as well.

See [https://screenshot.sunlime.at/116314c9c34a223f69678a41b04209fa.mp4](https://screenshot.sunlime.at/116314c9c34a223f69678a41b04209fa.mp4)

This is not the self-hosted version but the SAAS version.

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [July 17, 2023, 8:09am UTC](https://meta.discourse.org/t/an-error-occurred-the-requested-url-or-resource-could-not-be-found-when-trying-to-delete-user-in-moderation-queue/249637/16 "2023-07-17T08:09:14Z")

</div>

Hello and welcome @LordSimal 🙂

I think your report is more similar to this #Contribute > Bug so I’ve slipped your post across. 👍

We think it’s connected to the ‘typing too fast’ flags not being retained in the Review Queue history, and when following the individual notification from the menu you land on a specific page for that flag. When deleted, the page no longer exists which then throws up that info box.

Someone has been assigned to investigate, and I think a fix is in the pipeline. 🤞 🙂

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [July 19, 2023, 3:33pm UTC](https://meta.discourse.org/t/an-error-occurred-the-requested-url-or-resource-could-not-be-found-when-trying-to-delete-user-in-moderation-queue/249637/17 "2023-07-19T15:33:06Z")

</div>

I think this has been fixed in: 🥳

[https://github.com/discourse/discourse/pull/22501](https://github.com/discourse/discourse/pull/22501)

---

<div class="post-metadata">

### Author: ![LordSimal](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lordsimal/32/316003_2.png) [@LordSimal](https://meta.discourse.org/u/LordSimal)
#### Post date: [July 20, 2023, 11:05am UTC](https://meta.discourse.org/t/an-error-occurred-the-requested-url-or-resource-could-not-be-found-when-trying-to-delete-user-in-moderation-queue/249637/18 "2023-07-20T11:05:33Z")

</div>

I can confirm that my error from the video above doesn’t happen anymore 🥳

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [July 22, 2023, 7:01am UTC](https://meta.discourse.org/t/an-error-occurred-the-requested-url-or-resource-could-not-be-found-when-trying-to-delete-user-in-moderation-queue/249637/19 "2023-07-22T07:01:00Z")

</div>

This topic was automatically closed after 2 days. New replies are no longer allowed.
