Please change parameter name from `EndPoint` to `Endpoint`