Fixed the response content-type for error 400 Bad Request