Budibase/budibase · error · HTTPError
Generated SharePoint list CSV exceeds the 100 MB knowledge f
Error message
Generated SharePoint list CSV exceeds the 100 MB knowledge file limit
What it means
Error "Generated SharePoint list CSV exceeds the 100 MB knowledge file limit" thrown in Budibase/budibase.
Source
Thrown at packages/server/src/sdk/workspace/ai/knowledgeSources/sharepoint/connection.ts:655
)
.map(column => ({
name: column.name,
displayName: column.displayName,
}))
.sort((a, b) => a.name.localeCompare(b.name))
)
const chunks: Uint8Array<ArrayBuffer>[] = []
let totalBytes = 0
let itemCount = 0
let isFirstRow = true
const appendCsvRow = (row: unknown[]) => {
const line = `${isFirstRow ? "" : "\n"}${buildCsvRow(row)}`
const chunk = Buffer.from(line, "utf8")
const nextTotalBytes = totalBytes + chunk.byteLength
if (nextTotalBytes > maxSizeBytes) {
throw new HTTPError(
"Generated SharePoint list CSV exceeds the 100 MB knowledge file limit",
400
)
}
chunks.push(chunk as Uint8Array<ArrayBuffer>)
totalBytes = nextTotalBytes
isFirstRow = false
}
appendCsvRow([
"SharePoint Item ID",
"Created",
"Modified",
"Web URL",
...columns.map(column => column.displayName),
])
let nextLink = `${SHAREPOINT_API_BASE}/sites/${encodeURIComponent(siteId)}/lists/${encodeURIComponent(listId)}/items?$top=200&$expand=fields`View on GitHub (pinned to a81a902e9a)
When it happens
Trigger: Thrown at packages/server/src/sdk/workspace/ai/knowledgeSources/sharepoint/connection.ts:655 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of Budibase/budibase@a81a902e9a (2026-08-29).
Data as JSON: /api/errors/b32ec2457993c516.
Report an issue: GitHub.