Sometimes if you leave a message window for awhile, then come back and try to reply to a message, the system may display an error:
JSON Parse Error: Unexpected identifier "Invalid"
If it's happening because the message window is stale, perhaps the error could instead say:
Please refresh your browser window
I've attached a screen snapshot.