diegosouzapw/OmniRoute · error · Error
HTTP
Error message
HTTP ${connectionsRes.status} What it means
Thrown when the provider-connections fetch (providerConnectionsRequestUrl) returns non-OK on the radar setup page, after the catalog succeeded. Means existing connections for the provider couldn't be listed — auth or handler error blocking the setup flow.
Solutions
- Reload to retry the connections fetch
- Verify the connections API route for the provider responds
- Check auth: 401/403 means the dashboard session expired
Defensive patterns
Strategy: retry
When it happens
Trigger: Thrown at src/app/(dashboard)/dashboard/radar/setup/page.tsx:82 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/201d0adeb90a1051.
Report an issue: GitHub.
Appendix: source
Thrown at src/app/(dashboard)/dashboard/radar/setup/page.tsx:82
useEffect(() => {
if (!provider) {
setLoading(false);
return;
}
async function load() {
try {
const [res, connectionsRes] = await Promise.all([
fetch("/api/radar/catalog"),
fetch(providerConnectionsRequestUrl(provider)),
]);
if (res.status === 404) {
setError(t("flagDisabled"));
setLoading(false);
return;
}
if (!res.ok) throw new Error(`HTTP ${res.status}`);
if (!connectionsRes.ok) throw new Error(`HTTP ${connectionsRes.status}`);
const data = await res.json();
const connectionsData = (await connectionsRes.json()) as {
connections?: RadarSetupConnection[];
};
// Find ALL entries for this provider and extract setup from the first one that has it
const providerEntries = data.entries.filter(
(e: { provider: string }) => e.provider === provider
);
if (providerEntries.length === 0) {
setError(t("providerNotFound", { provider }));
setLoading(false);
return;
}
// Find setup info from feed entries (they carry the setup field)
const entryWithSetup = providerEntries.find(View on GitHub (pinned to a179ffed5b)