12

I just tried to submit an answer to a question on Stack Overflow, but when submitting, an error occurred:

Your answer couldn't be submitted. Please see the error above.

There was no error "above" (see exact screenshot the bottom)

However, the console revealed an error. The following request was sent:

POST stackoverflow.com/questions/40728554/answer/submit

and the response was:

    {
        "success": false,
        "errors": {
            "Email": [
                "An email is required to post."
            ]
        },
        "warnings": {},
        "source": {}
    }

I was indeed logged in when submitting the answer. Still, the query parameter didn't seem to include me as an author:

Query parameter "author"

To me, this seems like a bug, but why it occurred for this specific case, I do not know. I have successfully submitted answers before. The error occurred several times in the same session, also after a reload and a draft discard. I have not tried other browsers or similar, as I do not want to lose potential error data.

Submit screenshot

4
  • 5
    Looks definitely like a bug, though you should again think about if you really should be submitting this answer. If clearing the cache is really the solution, it's questionable if the question shouldn't be closed.
    – BDL
    Commented Mar 28, 2023 at 12:39
  • Yes, maybe it's just your email isn't detected, try with secret mode or with anothe browser and you will see if it's your account or a SO bug
    – Elikill58
    Commented Mar 28, 2023 at 15:02
  • 1
    Can confirm that this bug is still happening. Commented Dec 29, 2023 at 18:35
  • Still happening. It seems to occur when your session happens to time out (after a few weeks?), and you're logged out between the time you started typing an answer and click the <Post Your Answer> button. So, refresh, relog, and find that your answer text is still there and you can submit it: you'll have to confirm you're not a robot ;-)
    – trincot
    Commented Jul 30 at 9:01

1 Answer 1

2

It happened to me. A hard refresh of the page worked.

You must log in to answer this question.

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