{"record":{"id":"65682a879d756dc1","repo":"n8n-io/n8n","slug":"cell-at-row-rowindex-column-colindex-exceed","errorCode":null,"errorMessage":"Cell at row ${rowIndex}, column ${colIndex} exceeds max string length of ${MAX_CELL_STRING_LENGTH} characters","messagePattern":"Cell at row (.+?), column (.+?) exceeds max string length of (.+?) characters","errorType":"validation","errorClass":null,"httpStatus":null,"severity":"error","filePath":"packages/@n8n/instance-ai/src/parsers/structured-file-parser.ts","lineNumber":249,"sourceCode":"\n\tconst allDate = nonNull.every((v) => typeof v === 'string' && looksLikeDate(v));\n\tif (allDate) return 'date';\n\n\treturn 'string';\n}\n\n// ── Parsing core ────────────────────────────────────────────────────────────\n\nfunction validateCellValue(value: unknown, colIndex: number, rowIndex: number): CellValue {\n\tif (value === null || value === undefined || value === '') return null;\n\tif (typeof value === 'boolean') return value;\n\tif (typeof value === 'number') {\n\t\tif (!isFinite(value)) return null;\n\t\treturn value;\n\t}\n\tif (typeof value === 'string') {\n\t\tif (value.length > MAX_CELL_STRING_LENGTH) {\n\t\t\tthrow new Error(\n\t\t\t\t`Cell at row ${rowIndex}, column ${colIndex} exceeds max string length of ${MAX_CELL_STRING_LENGTH} characters`,\n\t\t\t);\n\t\t}\n\t\treturn value;\n\t}\n\t// Arrays and objects are not allowed in flat rows\n\tthrow new Error(\n\t\t`Unsupported value type \"${typeof value}\" at row ${rowIndex}, column ${colIndex}`,\n\t);\n}\n\nfunction hasDangerousKey(obj: Record<string, unknown>): string | undefined {\n\tfor (const key of Object.keys(obj)) {\n\t\tif (DANGEROUS_KEYS.has(key)) return key;\n\t}\n\treturn undefined;\n}\n","sourceCodeStart":231,"sourceCodeEnd":267,"githubUrl":"https://github.com/n8n-io/n8n/blob/5ac6606e81f67bb9534255570cd4e86fd8101eee/packages/@n8n/instance-ai/src/parsers/structured-file-parser.ts#L231-L267","documentation":"Error \"Cell at row ${rowIndex}, column ${colIndex} exceeds max string length of ${MAX_CELL_STRING_LENGTH} characters\" thrown in n8n-io/n8n.","triggerScenarios":"Thrown at packages/@n8n/instance-ai/src/parsers/structured-file-parser.ts:249 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":"5ac6606e81f67bb9534255570cd4e86fd8101eee","analyzedAt":"2026-08-12T05:26:35.080Z","schemaVersion":2},"datasetVersion":"2026-08-13T14:17:21.547Z"}