# Can't delete user with PMs, misleading error message

**URL:** https://meta.discourse.org/t/cant-delete-user-with-pms-misleading-error-message/191969
**Category:** Bug
**Created:** [May 28, 2021, 7:56pm UTC](https://meta.discourse.org/t/cant-delete-user-with-pms-misleading-error-message/191969 "2021-05-28T19:56:26Z")
**Posts on this page:** 1
**Showing post:** 6

<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, 4:13pm UTC](https://meta.discourse.org/t/cant-delete-user-with-pms-misleading-error-message/191969/6 "2021-06-05T16:13:50Z")

</div>

Might the issue in the following topic be correlated in any way to the issues being discussed in this topic?

> [@Flag -\> Delete Spammer - Does not work anymore](https://meta.discourse.org/t/flag-delete-spammer-does-not-work-anymore/192748):
>
> This was working well on 2.6.x Upgraded to 2.7.1 Stable and get this error immediately when trying to use this option (flag → delete spammer) on a post or topic: There was an error deleting that user. Make sure all posts are deleted before trying to delete the user. ‘delete user max post age’ and ‘delete all posts max’ are both set to the max value of 2000000000. This option used to delete all of the user’s posts and the account itself.

---

_[View the full topic](https://meta.discourse.org/t/cant-delete-user-with-pms-misleading-error-message/191969)._
