n8n-io/n8n · error

WRONG_KIND_LIST_MODE_VALUE

WRONG_KIND_LIST_MODE_VALUE

Error message

Parameter "${prop.name}": "${raw}" is not a valid list-mode value — list mode holds the opaque ID the picker returns. If "${raw}" is the resource's name or title, use mode 'name' with that value; or leave list mode empty (value '') for the user to pick at setup.

What it means

Error "Parameter "${prop.name}": "${raw}" is not a valid list-mode value — list mode holds the opaque ID the picker returns. If "${raw}" is the resource's name or title, use mode 'name' with that value; or leave list mode empty (value '') for the user to pick at setup." thrown in n8n-io/n8n.

Source

Thrown at packages/@n8n/instance-ai/src/tools/workflows/detect-wrong-kind-locator.ts:136

	if (!nodeTypes) return [];
	const warnings: ValidationWarning[] = [];

	for (const node of json.nodes ?? []) {
		if (!node.type || node.disabled) continue;
		const properties = nodeProperties(nodeTypes, node);

		for (const prop of properties) {
			if (prop.type !== 'resourceLocator' || !Array.isArray(prop.modes)) continue;
			const value = isRecord(node.parameters) ? node.parameters[prop.name] : undefined;
			if (!isRecord(value) || !('__rl' in value) || value.mode !== 'list') continue;

			const raw = rawLocatorValue(value.value);
			if (!raw || raw.startsWith('=')) continue;

			if (!listModeValueLooksWrongKind(prop, raw)) continue;

			warnings.push({
				code: 'WRONG_KIND_LIST_MODE_VALUE',
				nodeName: typeof node.name === 'string' ? node.name : undefined,
				message:
					`Parameter "${prop.name}": "${raw}" is not a valid list-mode value — list mode holds the opaque ID ` +
					`the picker returns. If "${raw}" is the resource's name or title, use mode 'name' with that value; ` +
					"or leave list mode empty (value '') for the user to pick at setup.",
			});
		}
	}

	return warnings;
}

View on GitHub (pinned to 5ac6606e81)

When it happens

Trigger: Thrown at packages/@n8n/instance-ai/src/tools/workflows/detect-wrong-kind-locator.ts:136 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of n8n-io/n8n@5ac6606e81 (2026-08-12). Data as JSON: /api/errors/722c779066ad67de. Report an issue: GitHub.