summary refs log tree commit diff
path: root/synapse/util
diff options
context:
space:
mode:
Diffstat (limited to 'synapse/util')
-rw-r--r--synapse/util/third_party_invites.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/util/third_party_invites.py b/synapse/util/third_party_invites.py
index b7e38c7ec3..45ae31d80c 100644
--- a/synapse/util/third_party_invites.py
+++ b/synapse/util/third_party_invites.py
@@ -66,4 +66,4 @@ def check_key_valid(http_client, event):
         if not response["valid"]:
             raise AuthError(403, "Third party certificate was invalid")
     except IOError:
-        raise AuthError(403, "Third party certificate could not be checked")
+        raise AuthError(502, "Third party certificate could not be checked")