Flag button at the bottom of the topic does not report the topic, throws an error

So, I was gonna flag a post. I had scrolled down to the bottom of the page of the topic (because I was too lazy to scroll all the way back up again), when this happened:

First, it works normal:

Then it throws this:

This happens 100% of the time.

This usually happens when the post has already been hidden after getting enough flags. If you noticed, hidden posts’ flag button is disabled. Consider this scenario:

  1. The post is not yet hidden
  2. You click the flag button
  3. While you had the flag menu open, someone flags first before you and the post gets hidden
  4. The flag button is disabled
  5. You try to flag since you still had the menu open
  6. You get the error message

This is intentional, but Discourse’s UX is just vague in this case. You can request on meta to have them clear up the error prompt message, but I personally think this isn’t too much of a deal :man_shrugging:

Edit: The flag button you clicked is pointing to the OP, if you check the OP’s post, you’ll see that the flag button is disabled/not visible, so this is technically a bug with the UI.

2 Likes