Skip to main content

Validation Expert

Expert guide for interpreting and fixing n8n validation errors.
Validate early, validate often. Validation is iterative — expect 2–3 validate → fix cycles. The average is 23 seconds thinking about errors and 58 seconds fixing them per cycle.

The Validation Loop

From real telemetry: 7,841 occurrences of this exact pattern:

Example Loop

Multiple validation iterations are completely normal. Don’t try to fix all errors at once — address them one at a time.

Validation Profiles

Choose the right profile for your development stage:
Use when: Quick checks during active editingValidates: Required fields only, basic structurePros: Fastest, most permissiveCons: May miss real issues

Validation Result Structure

Error Severity Levels

Common Error Catalog

What it means: A field that is required for the selected operation is absent.How to fix:
  1. Use get_node to see what fields the operation requires
  2. Add the missing field with an appropriate value
What it means: The value provided doesn’t match the list of allowed options.How to fix:
  1. Read the error message for the allowed values list
  2. Use get_node to see all options
What it means: The value is the right field but the wrong type (e.g., string instead of number).
What it means: An expression field has invalid {{}} syntax.
See the Expression Syntax skill for the full expression guide.
What it means: An expression references a node that doesn’t exist in the workflow.

Auto-Sanitization System

Auto-sanitization runs automatically on ALL nodes during ANY workflow update (create or update_partial).

What It Fixes Automatically

Operators that compare two values: equals, notEquals, contains, notContains, greaterThan, lessThan, startsWith, endsWithFix: Removes singleValue property (binary operators should not have it)

What Auto-Sanitization Cannot Fix

Auto-Fix Tool

For bulk fixes beyond auto-sanitization:
Fix types the auto-fix tool handles:
  • expression-format — Fix expression syntax
  • typeversion-correction — Correct typeVersion
  • error-output-config — Fix error output settings
  • webhook-missing-path — Add missing webhook paths
  • typeversion-upgrade — Upgrade to latest version
  • version-migration — Apply version migrations

False Positives Guide

Some validation warnings are technically “wrong” but acceptable in context.
When it’s a false positive: Simple workflows where failures are obvious, testing or development workflows, and non-critical notification workflows.When you should fix it: Production workflows handling important data or payments.
When it’s a false positive: APIs with their own built-in retry logic, idempotent operations where double-execution is harmless, and manual trigger workflows run by a human.When you should fix it: Flaky external services in production automation.
When it’s a false positive: Internal APIs with no rate limits, low-volume workflows (few executions per day), and APIs that enforce rate limiting server-side.When you should fix it: Public APIs with strict rate limits and high-volume automated workflows.
When it’s a false positive: Small, known-size datasets, aggregation queries (COUNT, SUM) that scan the full table by design, and development/testing environments.When you should fix it: Production queries on large tables.
To reduce false positives in AI-generated configurations:

Workflow Validation

Common Workflow-Level Errors

Recovery Strategies

When: Configuration is severely broken or corrupted.

Profile Selection by Stage

Best Practices

Do

  • Validate after every significant change
  • Read error messages completely before fixing
  • Fix errors one at a time iteratively
  • Check the valid field — don’t assume it passed
  • Trust auto-sanitization for operator issues
  • Use get_node when the required fields aren’t obvious

Don't

  • Skip validation before activation
  • Try to fix all errors simultaneously
  • Use strict profile during development
  • Manually fix auto-sanitization issues
  • Deploy with unresolved error severity issues
  • Ignore all warnings (some are genuinely important)