Test doRequest returns error with empty request.