# Accepting "custom" flag returns 500 if post was edited in the meantime

**URL:** https://meta.discourse.org/t/accepting-custom-flag-returns-500-if-post-was-edited-in-the-meantime/72737
**Category:** Bug
**Created:** [25 oktober 2017 om 09:44 UTC](https://meta.discourse.org/t/accepting-custom-flag-returns-500-if-post-was-edited-in-the-meantime/72737 "2017-10-25T09:44:24Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![Sujan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sujan/32/70979_2.png) [@Sujan](https://meta.discourse.org/u/Sujan)
#### Post date: [25 oktober 2017 om 09:44 UTC](https://meta.discourse.org/t/accepting-custom-flag-returns-500-if-post-was-edited-in-the-meantime/72737/2 "2017-10-25T09:44:50Z")

</div>

Feels pretty similar to

> [@"Akismet" plugin always returns "Sorry, an error has occured." although everything works as expected](https://meta.discourse.org/t/akismet-plugin-always-returns-sorry-an-error-has-occured-although-everything-works-as-expected/72672):
>
> Oh there is an Akismet report about a spam post: Nope, not spam. I click “Not Spam”. But I get “Sorry, an error has occured.”: But the report is gone: And the log shows that the post was correctly “confirmed not spam”: Anyone else having this problem?

---

_[View the full topic](https://meta.discourse.org/t/accepting-custom-flag-returns-500-if-post-was-edited-in-the-meantime/72737)._
