[wp-trac] [WordPress Trac] #41370: REST API: Attempting to create an existing term yields HTTP 500

WordPress Trac noreply at wordpress.org
Wed Jul 19 13:41:31 UTC 2017


#41370: REST API: Attempting to create an existing term yields HTTP 500
-------------------------+-------------------------------------------------
 Reporter:  jnylen0      |      Owner:
     Type:  defect       |     Status:  new
  (bug)                  |  Milestone:  Future Release
 Priority:  normal       |    Version:  4.7
Component:  REST API     |   Keywords:  needs-patch needs-unit-tests good-
 Severity:  normal       |  first-bug
  Focuses:  rest-api     |
-------------------------+-------------------------------------------------
 Reported at https://github.com/WordPress/gutenberg/pull/1490.  I haven't
 had time to investigate yet, but this should be a fairly quick win.

 HTTP 5xx error codes should be reserved for unexpected server errors like
 database failures, out of memory, etc.  This one should be `400 Bad
 Request` or maybe `409 Conflict` instead.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/41370>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list