# Receiving "Sorry, an error has occurred." during flagging step of discobot tutorial

**URL:** <https://meta.discourse.org/t/receiving-sorry-an-error-has-occurred-during-flagging-step-of-discobot-tutorial/77233>\
**Category:** Bug\
**Tags:** discobot\
**Created:** [4. Januar 2018 um 09:11 UTC](https://meta.discourse.org/t/receiving-sorry-an-error-has-occurred-during-flagging-step-of-discobot-tutorial/77233 "2018-01-04T09:11:06Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)\
**Post date:** [28. Februar 2018 um 03:30 UTC](https://meta.discourse.org/t/receiving-sorry-an-error-has-occurred-during-flagging-step-of-discobot-tutorial/77233/6 "2018-02-28T03:30:10Z")

</div>

Fixed in

[https://github.com/discourse/discourse/commit/902c5d11cf195b70c060bffeec3e134717130fce](https://github.com/discourse/discourse/commit/902c5d11cf195b70c060bffeec3e134717130fce)

Sometime back we stopped treating `notify_moderator` as a flag which is incorrect as per

> <https://github.com/discourse/discourse/blob/main/db/migrate/20140904055702_correct_post_action_index.rb#L5-L13>

---

_[View the full topic](https://meta.discourse.org/t/receiving-sorry-an-error-has-occurred-during-flagging-step-of-discobot-tutorial/77233)._
