{"record":{"id":"2d955c4fda0788c1","repo":"n8n-io/n8n","slug":"no-valid-prompts-found-in-the-provided-csv-file","errorCode":null,"errorMessage":"No valid prompts found in the provided CSV file","messagePattern":"No valid prompts found in the provided CSV file","errorType":"exception","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"packages/@n8n/ai-workflow-builder.ee/evaluations/cli/csv-prompt-loader.ts","lineNumber":130,"sourceCode":"\t\tconst annotationsRaw = getCell(row, annotationsIdx);\n\n\t\tif (dos || donts || annotationsRaw) {\n\t\t\ttestCase.context = {};\n\t\t\tif (dos) testCase.context.dos = dos;\n\t\t\tif (donts) testCase.context.donts = donts;\n\t\t\tif (annotationsRaw) {\n\t\t\t\tconst annotations = parseAnnotations(annotationsRaw, i + 1);\n\t\t\t\tif (annotations) {\n\t\t\t\t\ttestCase.context.annotations = annotations;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\ttestCases.push(testCase);\n\t}\n\n\tif (testCases.length === 0) {\n\t\tthrow new Error('No valid prompts found in the provided CSV file');\n\t}\n\n\treturn testCases;\n}\n\n/** Cached default test cases */\nlet cachedDefaultTestCases: TestCase[] | null = null;\n\n/**\n * Load the default test cases from the bundled CSV fixture.\n * Results are cached after first load.\n */\nexport function loadDefaultTestCases(): TestCase[] {\n\tcachedDefaultTestCases ??= loadTestCasesFromCsv(DEFAULT_PROMPTS_PATH);\n\treturn cachedDefaultTestCases;\n}\n\n/**","sourceCodeStart":112,"sourceCodeEnd":148,"githubUrl":"https://github.com/n8n-io/n8n/blob/5ac6606e81f67bb9534255570cd4e86fd8101eee/packages/@n8n/ai-workflow-builder.ee/evaluations/cli/csv-prompt-loader.ts#L112-L148","documentation":"Error \"No valid prompts found in the provided CSV file\" thrown in n8n-io/n8n.","triggerScenarios":"Thrown at packages/@n8n/ai-workflow-builder.ee/evaluations/cli/csv-prompt-loader.ts:130 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-13T19:17:28.613Z"}