Skip to content

Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥

feat(api): link IP restriction 403 to the settings page

mogery8e0d1a2fea85
diff --git a/apps/api/src/lib/ip-restriction.ts b/apps/api/src/lib/ip-restriction.ts
index 48a0fa447..cb40b6fa8 100644
--- a/apps/api/src/lib/ip-restriction.ts
+++ b/apps/api/src/lib/ip-restriction.ts
@@ -155,7 +155,7 @@ export async function checkIpRestriction(
return {
allowed: false,
- error: `Request blocked: IP address ${clientIp ? normalizeIp(clientIp) : "unknown"} is not on this team's allowed IP list. Team admins can manage allowed IPs in the dashboard settings.`,
+ error: `Request blocked: IP address ${clientIp ? normalizeIp(clientIp) : "unknown"} is not on this team's allowed IP list. Team admins can manage allowed IPs at https://www.firecrawl.dev/app/settings?tab=advanced`,
status: 403,
};
}