-
Notifications
You must be signed in to change notification settings - Fork 835
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bad json should be 400 not 500 #944
bad json should be 400 not 500 #944
Conversation
It makes sense to return a seldon-core/engine/src/main/java/io/seldon/engine/api/rest/RestClientController.java Lines 231 to 249 in ec18ddf
I'm assuming that in that case, the downstream predictive service returned a invalid JSON. It's not clear to me if that should be considered a server or client error. PS: I'm aware this is a bit nitpicky. |
I suppose its a 500 as the bad JSON is coming from the model rather than the client? |
Yeah I guess bad request and bad response should actually be separated as different cases |
Have updated now |
/approve |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: adriangonz, ryandawsonuk The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
fixes #943