Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Welcome to Codidact Meta!

Codidact Meta is the meta-discussion site for the Codidact community network and the Codidact software. Whether you have bug reports or feature requests, support questions or rule discussions that touch the whole network – this is the site for you.

Post History

71%
+3 −0
Q&A Incorrect raw JSON failure message on posting a comment

In a Codidact community where I have not yet earned the "Participate Everywhere" ability, I am unable to comment except on my own posts and answers to my own posts. This is as intended. I attempte...

0 answers  ·  posted 5d ago by trichoplax‭

#1: Initial revision by user avatar trichoplax‭ · 2025-01-13T02:10:47Z (5 days ago)
Incorrect raw JSON failure message on posting a comment
In a Codidact community where I have not yet earned the "Participate Everywhere" ability, I am unable to comment except on my own posts and answers to my own posts. This is as intended.

I attempted to post a comment in an existing comment thread on an answer to my own question on Electrical Engineering Meta (where I do not have "Participate Everywhere"). I expected this to work, because although I did not create the comment thread, I should be able to add comments to it since it is on an answer to my question.

It appeared to fail. However, instead of a failure message through the user interface, I received a raw JSON response, which Firefox displays as a list of keys and values:

> ![JSON error summary showing instead of a web page](https://meta.codidact.com/uploads/wbu8ygvtbf49l8i6411i2vzaky0v)

Note that this is not a screenshot of the developer window. This is what is displayed to the user after pressing "Add reply". It's not a pop up window, it's the sole content of the page.

In addition to not being how errors are generally presented to the user, the error is also incorrect, as the [comment was successfully posted](https://electrical.codidact.com/comments/thread/10500#comment-26317) (which I found out later when I visited the question page again).