# Issue when flagging posts as spam

**URL:** <https://community.modx.com/t/issue-when-flagging-posts-as-spam/494>\
**Category:** UX & Feedback\
**Created:** [April 9, 2019, 12:29pm UTC](https://community.modx.com/t/issue-when-flagging-posts-as-spam/494 "2019-04-09T12:29:17Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![lkfranklin](https://community.modx.com/user_avatar/community.modx.com/lkfranklin/32/52_2.png) [@lkfranklin](https://community.modx.com/u/lkfranklin)\
**Post date:** [April 9, 2019, 12:29pm UTC](https://community.modx.com/t/issue-when-flagging-posts-as-spam/494/1 "2019-04-09T12:29:18Z")

</div>

If I flag a thread as spam and submit it I get the response

> ‘you are not permitted to view the requested resource’

---

<div class="post-metadata">

**Author:** ![markh](https://community.modx.com/user_avatar/community.modx.com/markh/32/36_2.png) [@markh](https://community.modx.com/u/markh)\
**Post date:** [April 9, 2019, 12:58pm UTC](https://community.modx.com/t/issue-when-flagging-posts-as-spam/494/2 "2019-04-09T12:58:34Z")

</div>

I’m guessing the topic was immediately hidden after your flag and you don’t have permission to view hidden posts.

---

<div class="post-metadata">

**Author:** ![lkfranklin](https://community.modx.com/user_avatar/community.modx.com/lkfranklin/32/52_2.png) [@lkfranklin](https://community.modx.com/u/lkfranklin)\
**Post date:** [April 9, 2019, 1:22pm UTC](https://community.modx.com/t/issue-when-flagging-posts-as-spam/494/3 "2019-04-09T13:22:23Z")

</div>

Ah the topic has gone so I can’t test it (or gone for me at least). However I’m pretty sure it was still there after I reported it. In any case though is it expected that if you flag something as potential spam it removes it for the user straight away? What if I was wrong? 😃

---

<div class="post-metadata">

**Author:** ![markh](https://community.modx.com/user_avatar/community.modx.com/markh/32/36_2.png) [@markh](https://community.modx.com/u/markh)\
**Post date:** [April 9, 2019, 1:29pm UTC](https://community.modx.com/t/issue-when-flagging-posts-as-spam/494/4 "2019-04-09T13:29:09Z")

</div>

> [@lkfranklin](#):
>
> is it expected that if you flag something as potential spam it removes it for the user straight away?

The topic was already marked as a high spammy score, so I think the combination of high spam score + user flag meant it was immediately hidden. It showed up in my moderators inbox with both the flag and the score and your report, to which I agreed and suspended the user.

If your flag would’ve been wrong, I just had to click another button and it would’ve restored everything right away.

Does that sound about right, @elizabeth?

---

<div class="post-metadata">

**Author:** ![elizabeth](https://community.modx.com/user_avatar/community.modx.com/elizabeth/32/3_2.png) [@elizabeth](https://community.modx.com/u/elizabeth)\
**Post date:** [April 9, 2019, 2:50pm UTC](https://community.modx.com/t/issue-when-flagging-posts-as-spam/494/5 "2019-04-09T14:50:51Z")

</div>

Pretty much. Discourse takes into factor a number of things, and “power users” have more influence in that algorithm when you’re reporting content.

---

<div class="post-metadata">

**Author:** ![system](https://community.modx.com/user_avatar/community.modx.com/system/32/2_2.png) [@system](https://community.modx.com/u/system)\
**Post date:** [April 11, 2019, 2:50pm UTC](https://community.modx.com/t/issue-when-flagging-posts-as-spam/494/6 "2019-04-11T14:50:55Z")

</div>

Closed on April 11, 2019, 2:50pm UTC

This topic was automatically closed 2 days after discussion ended and a solution was marked. New replies are no longer allowed. You can open a new topic by clicking the link icon below the original post or solution and selecting “+ New Topic”.
