{"record":{"id":"201d0adeb90a1051","repo":"diegosouzapw/OmniRoute","slug":"http-connectionsres-status","errorCode":null,"errorMessage":"HTTP ${connectionsRes.status}","messagePattern":"HTTP \\$\\{connectionsRes\\.status\\}","errorType":"exception","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"src/app/(dashboard)/dashboard/radar/setup/page.tsx","lineNumber":82,"sourceCode":"  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)\n        const entryWithSetup = providerEntries.find(","sourceCodeStart":64,"sourceCodeEnd":100,"githubUrl":"https://github.com/diegosouzapw/OmniRoute/blob/a179ffed5bb2e0b883b9ae7214ce8717b2a94c4d/src/app/(dashboard)/dashboard/radar/setup/page.tsx#L64-L100","documentation":"Error \"HTTP ${connectionsRes.status}\" thrown in diegosouzapw/OmniRoute.","triggerScenarios":"Thrown at src/app/(dashboard)/dashboard/radar/setup/page.tsx:82 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"}