Fixed invalid error code on input error

When the request does not contain a model and contains
only binary input the code in case of error is not 400
but 404.