diff --git a/tableauserverclient/server/endpoint/auth_endpoint.py b/tableauserverclient/server/endpoint/auth_endpoint.py index a1616d7cb..84938ba63 100644 --- a/tableauserverclient/server/endpoint/auth_endpoint.py +++ b/tableauserverclient/server/endpoint/auth_endpoint.py @@ -28,6 +28,7 @@ def sign_in(self, auth_req): signin_req = RequestFactory.Auth.signin_req(auth_req) server_response = self.parent_srv.session.post(url, data=signin_req, **self.parent_srv.http_options) + self.parent_srv._namespace.detect(server_response.content) self._check_status(server_response) parsed_response = ET.fromstring(server_response.content) site_id = parsed_response.find('.//t:site', namespaces=self.parent_srv.namespace).get('id', None)