{"record":{"id":"2239864255e594bc","repo":"different-ai/openwork","slug":"connector-instance-configuration-response-was-inco","errorCode":null,"errorMessage":"Connector instance configuration response was incomplete.","messagePattern":"Connector instance configuration response was incomplete\\.","errorType":"validation","errorClass":null,"httpStatus":null,"severity":"error","filePath":"ee/apps/den-web/app/(den)/dashboard/_components/integration-data.tsx","lineNumber":943,"sourceCode":"    queryKey: integrationQueryKeys.connectorInstanceConfiguration(connectorInstanceId),\n    queryFn: async (): Promise<ConnectorInstanceConfiguration> => {\n      const { response, payload } = await requestJson(\n        `/v1/connector-instances/${encodeURIComponent(connectorInstanceId ?? \"\")}/configuration`,\n        { method: \"GET\" },\n        15000,\n      );\n\n      if (!response.ok) {\n        throw new Error(getErrorMessage(payload, `Failed to load connector instance (${response.status}).`));\n      }\n\n      const item = isRecord(payload) && isRecord(payload.item) ? payload.item : null;\n      const connectorInstance = item && isRecord(item.connectorInstance) ? item.connectorInstance : null;\n      const connectorInstanceIdValue = connectorInstance ? asString(connectorInstance.id) : null;\n      const connectorInstanceName = connectorInstance ? asString(connectorInstance.name) : null;\n      const remoteId = connectorInstance ? asString(connectorInstance.remoteId) : null;\n      if (!item || !connectorInstanceIdValue || !connectorInstanceName) {\n        throw new Error(\"Connector instance configuration response was incomplete.\");\n      }\n\n      const configuredPlugins = Array.isArray(item.configuredPlugins)\n        ? item.configuredPlugins.flatMap((entry) => {\n            if (!isRecord(entry)) return [];\n            const id = asString(entry.id);\n            const name = asString(entry.name);\n            if (!id || !name) return [];\n            const componentCounts: Record<string, number> = {};\n            if (isRecord(entry.componentCounts)) {\n              for (const [key, value] of Object.entries(entry.componentCounts)) {\n                if (typeof value === \"number\" && value > 0) {\n                  componentCounts[key] = value;\n                }\n              }\n            }\n            const rootPathValue = entry.rootPath;\n            const rootPath = typeof rootPathValue === \"string\" ? rootPathValue : null;","sourceCodeStart":925,"sourceCodeEnd":961,"githubUrl":"https://github.com/different-ai/openwork/blob/2b7df46e8ae1517d64c896c7793d2d52ec845669/ee/apps/den-web/app/(den)/dashboard/_components/integration-data.tsx#L925-L961","documentation":"Error \"Connector instance configuration response was incomplete.\" thrown in different-ai/openwork.","triggerScenarios":"Thrown at ee/apps/den-web/app/(den)/dashboard/_components/integration-data.tsx:943 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":"2b7df46e8ae1517d64c896c7793d2d52ec845669","analyzedAt":"2026-09-01T07:59:23.713Z","contentChangedAt":null,"schemaVersion":2},"datasetVersion":"2026-09-08T10:18:20.063Z"}