n8n errors / Schema

Request failed with status code 422

platform: n8n / category: Schema / code: 422

Cause

The API rejected the request because the body or query params failed validation - commonly an expression resolving to the wrong type or an empty value.

Fix

Inspect the full error response body for the field-level message. Ensure expressions resolve to the expected type; wrap with String(), Number(), or JSON.parse() as needed. For GET requests, make sure no body is sent (older HTTP node versions attached one - upgrade). Use the 'Send Body' toggle to control inclusion.

Source thread →

Part of the Automation Error Index — n8n errors: browse all.

Hitting an automation error we have not covered?

AutomateLab builds and debugs n8n, Make, and agent workflows as fixed-scope projects. If something is broken in production, tell us what you are seeing.

Describe the problem