Ticket #1426 (closed defect: invalid)
Validation errors cause 409 not 400 response
Reported by: | dread | Owned by: | dread |
---|---|---|---|
Priority: | minor | Milestone: | ckan-sprint-2011-10-28 |
Component: | ckan | Keywords: | |
Cc: | Repository: | ckan | |
Theme: | none |
Description
Validation error is incorrect arguments, so should be a "400 Bad Request" response. "409 Conflict" is for when there is a conflict creating two resources with the same identifier. Yet we get 409 for all validation errors.
Change History
Note: See
TracTickets for help on using
tickets.
Reading http://www.checkupdown.com/status/E409.html I've changed my mind - 409 is ok for an application level validation error.