# TypeError when submitting a flag with custom content (require\_message flags)

**URL:** <https://meta.discourse.org/t/typeerror-when-submitting-a-flag-with-custom-content-require-message-flags/403133>\
**Category:** Bug\
**Tags:** fixed\
**Created:** [May 16, 2026, 2:45am UTC](https://meta.discourse.org/t/typeerror-when-submitting-a-flag-with-custom-content-require-message-flags/403133 "2026-05-16T02:45:08Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)\
**Post date:** [May 19, 2026, 6:17am UTC](https://meta.discourse.org/t/typeerror-when-submitting-a-flag-with-custom-content-require-message-flags/403133/6 "2026-05-19T06:17:48Z")

</div>

Now I had a successful repro:

 ![image(20)](https://global.discourse-cdn.com/meta/original/4X/8/7/4/8745d5038172bf85b92c3e54df0e1df366d1dd1f.png)

While flagging the same post twice is usually not possible, this seems to be different in nested topics. So

1. create a topic with some nested replies
2. Flag the reply as “something else” and submit the flag
3. Click the flag icon again  
**Expected result** : only “It’s illegal” is available just like on posts in topics without nested mode.  
**Actual result** : All flagging reasons except for “something else” are available.
4. Choose another reason, submit the flag and check the browser console

---

_[View the full topic](https://meta.discourse.org/t/typeerror-when-submitting-a-flag-with-custom-content-require-message-flags/403133)._
