diegosouzapw/OmniRoute · error · Error

intel_sync_failed

Error message

intel_sync_failed

What it means

Error "intel_sync_failed" thrown in diegosouzapw/OmniRoute.

Source

Thrown at src/app/(dashboard)/dashboard/radar/intel/page.tsx:51

    if (!response.ok) throw new Error("intel_load_failed");
    const body = (await response.json()) as {
      intel?: RadarIntelFeed | null;
      meta?: IntelMeta | null;
    };
    setIntel(body.intel ?? null);
    setMeta(body.meta ?? null);
  }, []);

  const sync = useCallback(async () => {
    setSyncing(true);
    setError("");
    try {
      const response = await fetch("/api/radar/intel/sync", { method: "POST" });
      if (response.status === 404) {
        setFlagOff(true);
        return;
      }
      if (!response.ok) throw new Error("intel_sync_failed");
      const status = (await response.json()) as { status?: string };
      if (
        ["error", "invalid_signature", "invalid_schema", "wrong_tier", "too_large"].includes(
          status.status ?? ""
        )
      ) {
        setError(t("loadFailed"));
      }
      await load();
    } catch {
      setError(t("loadFailed"));
      await load().catch(() => undefined);
    } finally {
      setSyncing(false);
    }
  }, [load, t]);

  useEffect(() => {

View on GitHub (pinned to a179ffed5b)

When it happens

Trigger: Thrown at src/app/(dashboard)/dashboard/radar/intel/page.tsx:51 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of diegosouzapw/OmniRoute@a179ffed5b (2026-08-25). Data as JSON: /api/errors/ac8125fc5d81bcd5. Report an issue: GitHub.