diegosouzapw/OmniRoute · error · Error
intel_load_failed
Error message
intel_load_failed
What it means
The Radar intel loader's non-OK guard for GET /api/radar/intel. A 404 is handled separately (flagOff — feature disabled), so this sentinel fires only for real failures (5xx, bad payload) and sets the raw 'intel_load_failed' string as the page error.
Solutions
- Use the sync button to trigger a fresh intel fetch
- Reload the page; the load is read-only and safe to retry
- Check /api/radar/intel logs if the failure persists
Defensive patterns
Strategy: retry
When it happens
Trigger: Thrown at src/app/(dashboard)/dashboard/radar/intel/page.tsx:33 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/d118ea5882e5a0d2.
Report an issue: GitHub.
Appendix: source
Thrown at src/app/(dashboard)/dashboard/radar/intel/page.tsx:33
supporterVerified: true;
}
export default function RadarIntelPage() {
const t = useTranslations("radarIntelPage");
const [intel, setIntel] = useState<RadarIntelFeed | null>(null);
const [meta, setMeta] = useState<IntelMeta | null>(null);
const [loading, setLoading] = useState(true);
const [syncing, setSyncing] = useState(false);
const [flagOff, setFlagOff] = useState(false);
const [error, setError] = useState("");
const load = useCallback(async () => {
const response = await fetch("/api/radar/intel");
if (response.status === 404) {
setFlagOff(true);
return;
}
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");View on GitHub (pinned to a179ffed5b)