Skip to content

Papermark is the open-source DocSend alternative and secure data rooms with built-in analytics and custom domains.

fix

Marc Seitz0ddfe5832ef2
diff --git a/components/view/dataroom/downloads-panel.tsx b/components/view/dataroom/downloads-panel.tsx
index 20d7a84f..dbd3de46 100644
--- a/components/view/dataroom/downloads-panel.tsx
+++ b/components/view/dataroom/downloads-panel.tsx
@@ -159,6 +159,12 @@ export function DownloadsPanel({ linkId }: { linkId: string }) {
return;
}
const data = await res.json();
+ if (!data.viewId) {
+ setError(
+ "No access found for this email. Use the email you used to open the dataroom.",
+ );
+ return;
+ }
setViewId(data.viewId);
setStep("otp");
} catch {