diegosouzapw/OmniRoute · error · Error

intel_sync_failed

Error message

intel_sync_failed

What it means

The Radar intel manual sync: POST /api/radar/intel/sync returned non-OK (404 again means flag-off and returns cleanly). The 'intel_sync_failed' sentinel sets the error state; the intel feed is left as-is from the last successful load.

Solutions

  1. Retry the sync after a short wait; upstream feeds rate-limit
  2. Check server logs for the upstream intel feed fetch error
  3. Verify network egress to the intel feed source
Defensive patterns

Strategy: retry

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.

Appendix: 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)