Skip to content

API: Improve error reporting

Created by: jubianchi

This patch improves API errors messages thus fixing some issues (#6878 (closed), #3526 (closed), #4209 (closed), #5335 (closed)).

404 statuses have been replaced by omre precise ones:

  • 409 when there is a conflict
  • 400 when a validation problem occurs

Validation errors are also exposed in API responses.

Merge request reports

Loading