Finding codes
validate, plan and deploy check your file against the schema and a set of rules. Each result is a finding with a level (error, warning or info), a code, the path of the key and a hint. Errors stop deploy. The code is stable, so you can search for it, and a test fails when a code is missing from this page.
The letter tells the kind of check:
| Letter | Kind | Where it comes from |
|---|---|---|
S | Schema | The file does not match the models |
T | Topology and AWS | Combinations that n8n or AWS do not allow |
L | n8n license | The edition and the usage you declared |
F | FinOps | Costs and guardrails |
C | Synthesis | A feature that is declared but not yet synthesized, or a choice that is ignored |
P | Plan | A value that you override in n8n.env |
The path in each finding is the key to change. See the configuration reference for the keys.
Schema
| Code | Level | Meaning | Fix |
|---|---|---|---|
S0 | error | The file is not a YAML mapping, or cannot be read | Check the syntax of the file |
S1 | error | A key is unknown, missing or has a wrong value, or belongs to another kind | Compare the key with the reference |
Topology and AWS
| Code | Level | Meaning | Fix |
|---|---|---|---|
T1 | error | A queue topology needs PostgreSQL and a Redis-compatible queue | Use aurora-serverless, aurora, rds or external for the database, and a queue kind other than none |
T2 | error, warning | single runs one process, so a queue is unused and several main replicas are rejected | Remove the queue block, or use multi-main |
T3 | error | multi-main needs at least 2 main replicas, and several replicas need multi-main | Align topology.mode and topology.main.replicas |
T4 | error | Filesystem binary data cannot be shared between processes; SQLite and filesystem data on EFS work on ECS only | Use database or s3 for binary data, and PostgreSQL on EKS |
T5 | error | EKS needs a domain, and the task origin is an ECS feature | Set ingress.domain and use origin: alb |
T6 | error | alb-oidc needs an oidc block, ip-allowlist needs allowed_cidrs narrower than 0.0.0.0/0, and a managed web ACL on CloudFront has global scope | Add the missing block or narrow the list |
T7 | error | cloudfront-cognito needs ingress.kind: cloudfront and a domain of yours | Set both, or use alb-cognito with an ALB |
T8 | info, error | With origin: task, the hop to the task is plain HTTP; the task origin cannot route topologies with several roles | Use origin: alb to keep the hop inside your VPC, and for split. Both origins use plain HTTP between CloudFront and n8n |
T9 | error | A private n8n needs an internal ALB, and a domain needs a certificate | Set kind: alb, or add a certificate |
T10 | error | The ingress needs at least 2 public subnets | List them under network.vpc.public_subnets |
T11 | error | The CPU and memory pair is not a valid Fargate size | Pick a pair such as 512/1024 or 1024/2048 |
T12 | error | S3 data or an exchange prefix needs a bucket | Set storage.bucket to create or existing |
T13 | error | EKS nodes run in private subnets and need NAT | Use nat: instance or single |
T14 | warning, error | n8n.version is a moving tag such as stable, or older than 2.x | Pin a release such as 2.37.1 |
T15 | warning | Worker concurrency under 5, or main on Fargate Spot | Raise the concurrency; keep fargate for main |
T16 | error | CPU scaling cannot start a worker when none runs, or the CPU target is not a percentage | Use scale_on: queue-depth, or min: 1 |
T17 | error | EC2 capacity needs a cluster that the deployment creates, and CloudFront cannot reach tasks on EC2 directly | Use cluster: {kind: create} and origin: alb |
T18 | info, warning | The instance type is not in the size table, or tasks do not fit at full scale | Raise max, pick larger types or enable ENI trunking |
T19 | error, warning | A cross-region copy needs AWS Backup, a region other than the deployment's, and a replicated secret | Set backup.kind: aws-backup and another region; replicate an existing key secret yourself |
T20 | error | Fargate pods cannot run the EKS add-ons | Use compute: auto or managed-nodes |
T21 | error | The load balancer controller is installed only on a cluster the tool creates | Use load_balancer_controller: existing and install it yourself |
T22 | warning | A role has under 1024 MiB: n8n and its runner are killed for memory (exit 137) | Use at least 1024 MiB and 512 CPU |
T23 | info | Every n8n user who can create credentials can use the workflow role | Attach only policies that all your n8n users may use, or set aws.workflow_role.kind: none |
n8n license
| Code | Level | Meaning | Fix |
|---|---|---|---|
L1 | error | A community edition needs a usage declaration and the acceptance of the Sustainable Use License | Add usage: {purpose: internal-business, accept_sustainable_use_license: true} |
L2 | error | The declared purpose is outside the Sustainable Use License | Use a paid edition and agree the terms with n8n |
L3 | warning | Showing the n8n editor inside your product needs an OEM agreement | Contact license@n8n.io |
L4 | warning | Running n8n as a service for third parties: check the terms | Check them with n8n |
L5 | warning | The Business plan is aimed at companies under 100 employees | Consider Enterprise |
L6 | error | A paid edition needs an activation key or a certificate, never both | Set exactly one, as a Secrets Manager reference |
L7 | error | A feature needs a higher edition | Change n8n.license.edition or remove the feature |
L8 | error | A license variable is set in n8n.env, which would bypass the checks | Use n8n.license.activation_key or certificate |
L9 | info | A paid key is checked daily against n8n's license server | Give the private subnets internet access |
L10 | error | The n8n version predates a feature, for example SSO by environment before 2.18.0 | Pin a newer version |
FinOps
| Code | Level | Meaning | Fix |
|---|---|---|---|
F1 | error, warning | An office-hours schedule stops n8n at night; not for production, and wasteful with multi-main | Use dev or staging, or always-on |
F2 | info, error | The monthly estimate is above finops.max_monthly_usd | Lower the sizes or raise the ceiling |
F3 | warning, info | Provisioned Aurora costs hundreds of USD; Aurora never pauses while n8n runs | Use aurora-serverless or rds; use min_acu: 0 only with a schedule |
F4 | info, warning | No budget alert, or a budget without emails | Set finops.budget.monthly_usd and alert_emails |
F5 | info, warning | Dashboard and alarm costs; a production deployment without a dashboard | Set observability.dashboard.enabled: true |
F6 | info | The CloudWatch agent publishes n8n metrics, about $0.30 each a month | Informational |
F7 | info | The Lambda@Edge login wall costs about $0.60 per million editor requests | Informational |
F8 | info | A web ACL costs $5 a month plus $1 per rule and $0.60 per million requests | Informational |
F9 | info | EC2 hosts against Fargate for the same tasks | Choose with the figures shown |
F10 | info | The overview dashboard is one more dashboard, $3 a month beyond the first 3 | overview --delete when not needed |
F11 | info | A cross-region copy is billed as data transfer and as a second vault | Informational |
Synthesis
| Code | Level | Meaning | Fix |
|---|---|---|---|
C1 | error | A feature is declared but not synthesized yet | See the roadmap in the README, or remove the feature |
C2 | warning | A choice is ignored, for example office-hours on EKS or prometheus: cloudwatch on EKS | Remove it, or accept that it has no effect |
C3 | info | A reminder about an existing Cognito client: no secret and the code grant for cloudfront-cognito, a secret for alb-cognito | Check the client in the Cognito console |
Plan
| Code | Level | Meaning | Fix |
|---|---|---|---|
P1 | warning | A variable in n8n.env overrides one that the tool generates | Remove it unless you mean it |