# לא ניתן למחוק משתמש עם הודעות פרטיות, הודעת שגיאה מטעה

**URL:** <https://meta.discourse.org/t/cant-delete-user-with-pms-misleading-error-message/191969>\
**Category:** Bug\
**Created:** [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:** 2

<div class="post-metadata">

**Author:** ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)\
**Post date:** [28 במאי,‏ 2021,‏ 8:53pm UTC](https://meta.discourse.org/t/cant-delete-user-with-pms-misleading-error-message/191969/2 "2021-05-28T20:53:19Z")

</div>

Good sleuthing! We should fix the error message at minimum.

`"body": "{\"deleted\":false,\"message\":\"User XXX has 0 posts, so they can't be deleted.\"}"`

It should say

`User has x post(s), so they can't be deleted.`

We should also probably hint at the situation since this has come up a fair bit

`User has x posts(s), either public posts or personal messages, so they can't be deleted`

---

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