# カスタムコンテンツでフラグを送信した際の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:** 8

<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:** [2026 年 7 月 21 日午後 6:03 UTC](https://meta.discourse.org/t/typeerror-when-submitting-a-flag-with-custom-content-require-message-flags/403133/8 "2026-07-21T18:03:06Z")

</div>

上記の手順を、ネストされた返信がないトピックで実行しました。

下のモーダルからわかるように、投稿はすでにユーザーによってモデレーション対象としてフラグが立てられており、フラグモーダルを再度クリックすると以下のようになります：

 ![Screenshot_20260721_195643_Firefox](https://global.discourse-cdn.com/meta/original/4X/a/f/8/af8dcd5e4c7bca6079c91525141746011f170dcb.jpeg)

* * *

サイト設定の `allow_all_users_to_flag_illegal_content` を確認すると、これが他のオプションを選択した後でもユーザーが「違法」としてフラグを立てられるようにしている可能性があります。

---

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