{"record":{"id":"f93a40c4a375a1ae","repo":"paperclipai/paperclip","slug":"board-chat-stream-not-available","errorCode":null,"errorMessage":"Board chat stream not available","messagePattern":"Board chat stream not available","errorType":"exception","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"ui/src/pages/BoardChat.tsx","lineNumber":576,"sourceCode":"      setStatusText(\"Connecting...\");\n\n      try {\n        const controller = new AbortController();\n        const fetchTimeout = setTimeout(() => controller.abort(), 130000);\n        const res = await fetch(\"/api/board/chat/stream\", {\n          method: \"POST\",\n          headers: { \"Content-Type\": \"application/json\" },\n          body: JSON.stringify({\n            companyId: selectedCompanyId,\n            message: trimmed,\n            taskId: boardIssueId ?? undefined,\n          }),\n          signal: controller.signal,\n        });\n        clearTimeout(fetchTimeout);\n\n        if (!res.ok || !res.body) {\n          throw new Error(\"Board chat stream not available\");\n        }\n\n        setStatusText(\"Thinking...\");\n\n        const reader = res.body.getReader();\n        const decoder = new TextDecoder();\n        let buffer = \"\";\n        let accumulated = \"\";\n\n        while (true) {\n          const { done, value } = await reader.read();\n          if (done) break;\n\n          buffer += decoder.decode(value, { stream: true });\n          const lines = buffer.split(\"\\n\");\n          buffer = lines.pop() ?? \"\";\n\n          for (const line of lines) {","sourceCodeStart":558,"sourceCodeEnd":594,"githubUrl":"https://github.com/paperclipai/paperclip/blob/120ae5428fa29bee300bcf806491cd4d965fbb7c/ui/src/pages/BoardChat.tsx#L558-L594","documentation":"Error \"Board chat stream not available\" thrown in paperclipai/paperclip.","triggerScenarios":"Thrown at ui/src/pages/BoardChat.tsx:576 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Reload the board chat; if it persists, check that the board chat endpoint/stream is enabled and reachable."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"120ae5428fa29bee300bcf806491cd4d965fbb7c","analyzedAt":"2026-08-18T22:49:45.177Z","contentChangedAt":"2026-08-18T22:49:45.177Z","schemaVersion":2},"datasetVersion":"2026-09-14T05:17:10.506Z"}