diegosouzapw/OmniRoute · error · Error

HTTP ${res.status}

Error message

HTTP ${res.status}

What it means

Error "HTTP ${res.status}" thrown in diegosouzapw/OmniRoute.

Source

Thrown at src/app/(dashboard)/dashboard/health/page.tsx:83

  const nodeMap = useProviderNodeMap();
  const [data, setData] = useState(null);
  const [dbHealth, setDbHealth] = useState(null);
  const [dbHealthError, setDbHealthError] = useState(null);
  const [error, setError] = useState(null);
  const [lastRefresh, setLastRefresh] = useState(null);
  const [cache, setCache] = useState(null);
  const [signatureCache, setSignatureCache] = useState(null);
  const [degradation, setDegradation] = useState(null);
  const [resetting, setResetting] = useState(false);
  const [repairingDb, setRepairingDb] = useState(false);
  const [unblocking, setUnblocking] = useState(false);
  const [unblockingKey, setUnblockingKey] = useState<string | null>(null);
  const [showAdvanced, setShowAdvanced] = useState(false);

  const fetchHealth = useCallback(async () => {
    try {
      const res = await fetch("/api/monitoring/health");
      if (!res.ok) throw new Error(`HTTP ${res.status}`);
      const json = await res.json();
      setData(json);
      setError(null);
      setLastRefresh(new Date());
    } catch (err) {
      setError(err.message);
    }
  }, []);

  const fetchDbHealth = useCallback(async () => {
    try {
      const res = await fetch("/api/db/health");
      if (!res.ok) throw new Error(`HTTP ${res.status}`);
      const json = await res.json();
      setDbHealth(json);
      setDbHealthError(null);
    } catch (err) {
      setDbHealthError(err.message);

View on GitHub (pinned to a179ffed5b)

When it happens

Trigger: Thrown at src/app/(dashboard)/dashboard/health/page.tsx:83 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/a6093d9fef38f6f0. Report an issue: GitHub.