Change invalid request/response to bad request/response.