diff --git a/desktop/core/src/desktop/lib/rest/raz_http_client.py b/desktop/core/src/desktop/lib/rest/raz_http_client.py index 40bbc42a3b2..6ac1cf574f7 100644 --- a/desktop/core/src/desktop/lib/rest/raz_http_client.py +++ b/desktop/core/src/desktop/lib/rest/raz_http_client.py @@ -56,7 +56,7 @@ def execute(self, http_method, path, params=None, data=None, headers=None, allow if response and response.get('token'): signed_url += ('?' if '?' not in url else '&') + response.get('token') else: - raise PopupException(_('No SAS token in RAZ response'), error_code=503) + raise PopupException(_('No SAS token in RAZ response'), error_code=403) # Required because `self._make_url` is called in base class execute method also signed_path = path + signed_url.partition(path)[2]