22

Related: "An error occurred submitting the question."

I’m trying to post an answer to this question and keep getting the error message, “An error occurred submitting the answer.”

Thinking my original answer (see https://gist.github.com/jcsalomon/5162987) was perhaps a bit link-heavy, I deleted all links, but still got the same error:

Error message

ETA 2013-04-28: I finally found what was causing the answer to be rejected. Text of the form

mailto:<rfc822-addr-spec>

seems to trigger something—link detection, perhaps?—that causes the post to be rejected. As a temporary work-around, I’ve replaced all ASCII angle brackets (the less-than and greater-than signs ‘<’ and ‘>’) with Unicode angle quotes (‘’ and ‘’).

ETA 2014-05-01: Seems the issue has been resolved behind the scenes. I was able to successfully edit my answer into the correct form.

9
  • Must be a local problem, the post looks fine. Commented Mar 14, 2013 at 17:05
  • I was able to post that into the [sandbox](hthttp://meta.stackexchange.com/a/171917/140890) just fine. Commented Mar 14, 2013 at 17:06
  • 1
    Try removing the mailto: blah things maybe? (mail&#8203;to: blah?) (@Martin: I'm not sure the same filtering rules apply on meta and SO.)
    – Mat
    Commented Mar 14, 2013 at 17:17
  • You normally get a more detailed error message (at least more detailed than just an error occurred). Is there any more detail next to the post editing window? (to the right). Commented Mar 14, 2013 at 17:29
  • @MartijnPieters: I looked next to the editing frame; nothing. Commented Mar 14, 2013 at 19:33
  • I just posted your answer to that question and got hit with a captcha, but actually posting it worked just fine (don't worry, I deleted it immediately!) Commented Mar 14, 2013 at 20:21
  • Still getting the same error. Commented Mar 17, 2013 at 0:17
  • For me, replacing "WScript... with "W"&"Script... solved issue... Commented Sep 26, 2013 at 13:56
  • I was running into this problem and it ended up fixing it to copy the text elsewhere, delete/discard the draft, refresh the page, and then post it again. Commented Jul 11, 2022 at 16:40

3 Answers 3

8

I tried editing the answer myself to insert the proper characters and received an identical error. I decided to dig a little further and discovered that the request to POST the edit is being met with an HTTP 500 response code:

enter image description here

So this is more than simply a case of the answer being rejected for failing to meet some criteria - rather, it is a case of the website itself actually throwing an error.


Edit: things get weirder. I was able to successfully post the answer here on Meta:

Formatting Sandbox

2
  • I tried a suggested edit, didn't work either. Maybe this is some sort of broken spam heuristic that's only active on big sites.
    – a cat
    Commented Apr 28, 2013 at 22:10
  • 2
    Keep in mind that on Stack Overflow there is server side quality filter which is turned off here on Meta. Most likely the server side validation aka quality filter crashed with unexpected error which resulted in what you describe. Commented Apr 29, 2013 at 6:50
0

Sometimes your Network Administrators might block code submission. Pressing F12 in browsers like Chrome helps you to identify whether the submission goes past your network.

-1

In my case, I was simply not connected to the Internet!

I was writing an answer and did not notice when the internet connection was lost. I tried posting it and got your error:

An error occurred submitting the answer.

I reconnected and all was fine and merry.

Edit: I know that this is not the answer in the OP's specific case. However, it is still a reason, and if anyone gets that error and comes to this page, it is possible my answer can help them.

2
  • My question makes it clear this was not the trouble. Commented Dec 26, 2019 at 14:06
  • @J.C.Salomon I know. That is why I said "In my case, ...". This was the first post when I searched this problem. Hence, I thought I should add another possible cause for this error, for future readers. Commented Dec 26, 2019 at 14:18

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .