You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, errors only return an HTTP error number (like 404), but no body at all. Some services may fail on multiple levels to find data in the database (like get /hfc/{submissionId}/cohort may fail to find the submission or it may fail to find an associated cohort). There is no way to convey which part could not be resolved.
The text was updated successfully, but these errors were encountered:
With #83 I went a different way: The service will now return a 404 only, if the submission is not found. If there is the specified sub resource is not found, the service will return 200 with no body.
I'd like to use 204 (no content), but swagger only allows 1 Code of the 2XX family per response.
Currently, errors only return an HTTP error number (like
404
), but no body at all. Some services may fail on multiple levels to find data in the database (likeget /hfc/{submissionId}/cohort
may fail to find the submission or it may fail to find an associated cohort). There is no way to convey which part could not be resolved.The text was updated successfully, but these errors were encountered: