diff --git a/src/main/java/org/cryptomator/ui/keyloading/hub/ReceiveKeyController.java b/src/main/java/org/cryptomator/ui/keyloading/hub/ReceiveKeyController.java index 6f6e7cb42..bd7497bec 100644 --- a/src/main/java/org/cryptomator/ui/keyloading/hub/ReceiveKeyController.java +++ b/src/main/java/org/cryptomator/ui/keyloading/hub/ReceiveKeyController.java @@ -76,7 +76,7 @@ public class ReceiveKeyController implements FxController { switch (response.statusCode()) { case 200 -> retrievalSucceeded(response); case 402 -> licenseExceeded(); - case 403 -> accessNotGranted(); + case 403, 410 -> accessNotGranted(); // or vault has been archived, effectively disallowing access case 404 -> needsDeviceRegistration(); default -> throw new IOException("Unexpected response " + response.statusCode()); }