# カスタムコンテンツでフラグを送信した際のTypeError（require\_messageフラグ）

**URL:** <https://meta.discourse.org/t/typeerror-when-submitting-a-flag-with-custom-content-require-message-flags/403133>\
**Category:** Bug\
**Tags:** fixed\
**Created:** [2026 年 5 月 16 日午前 2:45 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:** 7

<div class="post-metadata">

**Author:** ![tannerabread](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tannerabread/32/526153_2.png) [@tannerabread](https://meta.discourse.org/u/tannerabread)\
**Post date:** [2026 年 7 月 21 日午後 5:14 UTC](https://meta.discourse.org/t/typeerror-when-submitting-a-flag-with-custom-content-require-message-flags/403133/7 "2026-07-21T17:14:55Z")

</div>

遅くなりましたが、現在対応中です。

> [@Moin](#):
>
> 1. **期待される結果** : ネストモードなしのトピック内の投稿と同様に、「違法です」のみが利用可能になります。

ネストモードではない場合でも、「違法です」が表示されないようです。ネストモードの動作をネストモードなしのトピックの動作に合わせて更新しましたが、再度フラグを立てようとすると、どちらも次のようになります：

 ![image](https://global.discourse-cdn.com/meta/original/4X/c/e/9/ce95579180201c6cb24d744118b453fb3c3d4f6b.png)

---

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