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


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.

  • Must be a local problem, the post looks fine. – Martijn Pieters Mar 14 '13 at 17:05
  • I was able to post that into the [sandbox](hthttp://meta.stackexchange.com/a/171917/140890) just fine. – Martijn Pieters Mar 14 '13 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 Mar 14 '13 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). – Martijn Pieters Mar 14 '13 at 17:29
  • @MartijnPieters: I looked next to the editing frame; nothing. – J. C. Salomon Mar 14 '13 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!) – Mike G Mar 14 '13 at 20:21
  • Still getting the same error. – J. C. Salomon Mar 17 '13 at 0:17
  • For me, replacing "WScript... with "W"&"Script... solved issue... – LS_ᴅᴇᴠ Sep 26 '13 at 13:56

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

  • 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 Apr 28 '13 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. – Shadow The Vaccinated Wizard Apr 29 '13 at 6:50

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.


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.

  • My question makes it clear this was not the trouble. – J. C. Salomon Dec 26 '19 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. – Jaideep Shekhar Dec 26 '19 at 14:18

You must log in to answer this question.

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