[wp-trac] [WordPress Trac] #39530: When posting too many comments via API, the error response is HTML, not JSON
WordPress Trac
noreply at wordpress.org
Sun Apr 23 04:57:35 UTC 2017
#39530: When posting too many comments via API, the error response is HTML, not
JSON
-------------------------------+-----------------------
Reporter: martinmalinda | Owner: joehoyle
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 4.8
Component: REST API | Version: 4.7
Severity: normal | Resolution:
Keywords: reporter-feedback | Focuses:
-------------------------------+-----------------------
Changes (by joehoyle):
* keywords: => reporter-feedback
Comment:
I took a look into this and was unable to reproduce. I tested with
anonymous users creating comment and verified the response is the
expected:
{{{
{"code":"comment_flood","message":"You are posting comments too quickly.
Slow down.","data":{"status":400}}
}}}
@martinmalinda could you attached the request details for the exact
request you are making?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39530#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list