# Flag -\> Delete Spammer - Does not work anymore

**URL:** https://meta.discourse.org/t/flag-delete-spammer-does-not-work-anymore/192748
**Category:** Bug
**Created:** [June 5, 2021, 6:43am UTC](https://meta.discourse.org/t/flag-delete-spammer-does-not-work-anymore/192748 "2021-06-05T06:43:02Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![griffin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/griffin/32/223139_2.png) [@griffin](https://meta.discourse.org/u/griffin)
#### Post date: [June 5, 2021, 7:28am UTC](https://meta.discourse.org/t/flag-delete-spammer-does-not-work-anymore/192748/2 "2021-06-05T07:28:10Z")

</div>

I might be wrong about the possible correlation, but I recall reading something about a bug fix related to deleting an account when it had PMs recently.

Here it is:

> [@Can't delete user with PMs, misleading error message](https://meta.discourse.org/t/cant-delete-user-with-pms-misleading-error-message/191969):
>
> We are using SSO and when someone closes their account, we delete their Discourse account too through the API (or anonymize it, if there’s posts). However, something seems to be amiss as we have been seeing some 403 errors while doing this. Poking a little bit, I found this to be the error message returned by the API call: { "http\_code": 403, "body": "{\"deleted\":false,\"message\":\"User XXX has 0 posts, so they can't be deleted.\"}" } Bit, if there’s 0 posts, it should be possible t…

---

_[View the full topic](https://meta.discourse.org/t/flag-delete-spammer-does-not-work-anymore/192748)._
