Requests with input parameters that are the wrong type return head 400