{"record":{"id":"712ba5ee75a3ecd4","repo":"diegosouzapw/OmniRoute","slug":"http-res-status-712ba5","errorCode":null,"errorMessage":"HTTP ${res.status}","messagePattern":"HTTP \\$\\{res\\.status\\}","errorType":"exception","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"src/app/(dashboard)/dashboard/radar/setup/page.tsx","lineNumber":81,"sourceCode":"  // Fetch catalog to find the provider's setup data\n  useEffect(() => {\n    if (!provider) {\n      setLoading(false);\n      return;\n    }\n\n    async function load() {\n      try {\n        const [res, connectionsRes] = await Promise.all([\n          fetch(\"/api/radar/catalog\"),\n          fetch(providerConnectionsRequestUrl(provider)),\n        ]);\n        if (res.status === 404) {\n          setError(t(\"flagDisabled\"));\n          setLoading(false);\n          return;\n        }\n        if (!res.ok) throw new Error(`HTTP ${res.status}`);\n        if (!connectionsRes.ok) throw new Error(`HTTP ${connectionsRes.status}`);\n        const data = await res.json();\n        const connectionsData = (await connectionsRes.json()) as {\n          connections?: RadarSetupConnection[];\n        };\n\n        // Find ALL entries for this provider and extract setup from the first one that has it\n        const providerEntries = data.entries.filter(\n          (e: { provider: string }) => e.provider === provider\n        );\n\n        if (providerEntries.length === 0) {\n          setError(t(\"providerNotFound\", { provider }));\n          setLoading(false);\n          return;\n        }\n\n        // Find setup info from feed entries (they carry the setup field)","sourceCodeStart":63,"sourceCodeEnd":99,"githubUrl":"https://github.com/diegosouzapw/OmniRoute/blob/a179ffed5bb2e0b883b9ae7214ce8717b2a94c4d/src/app/(dashboard)/dashboard/radar/setup/page.tsx#L63-L99","documentation":"Error \"HTTP ${res.status}\" thrown in diegosouzapw/OmniRoute.","triggerScenarios":"Thrown at src/app/(dashboard)/dashboard/radar/setup/page.tsx:81 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"a179ffed5bb2e0b883b9ae7214ce8717b2a94c4d","analyzedAt":"2026-08-25T18:35:09.898Z","schemaVersion":2},"datasetVersion":"2026-08-25T21:54:21.419Z"}