CORTEXFLOW · FREE FOREVER

Posts tagged #error-fix

Fix n8n MCP Tool and HTTP Request Breaking Each Other's OAuth2 Auth

Your n8n MCP tool and HTTP Request node keep invalidating each other's OAuth2 token. One shared credential in n8n 3.3 fixes it. Here is how.

Fix n8n Error-Level Log Alerts Firing for User Mistakes and 4xx Responses

Self-hosted n8n logs user mistakes and API 4xx errors at error level, paging you for non-incidents. Here is how to confirm it and fix your alerts.

Fix n8n Weaviate Vector Store Ignoring a Max Vector Distance of 0

Set Hybrid Max Vector Distance to 0 in n8n's Weaviate node and distant results still return. A falsy-zero bug drops the cap — here is the workaround.

Fix n8n Vector Store Inserts Keeping Only the Last Batch When Clear Is On

Insert 450 chunks with Clear on and the store keeps 50. Milvus, Pinecone, Chroma and In Memory clear before every batch — here is how to keep all your chunks.

Fix n8n MCP Client Error Hiding the HTTP Status

n8n's MCP nodes show the same blank error for 401, 429 and 503. Here is how to recover the real HTTP status and fix the actual cause.

Fix n8n MCP setNodeParameter Silently Ignoring Nested-Path Edits

n8n's MCP setNodeParameter reports success on a nested-path edit but appends a duplicate parameters key, so the old value keeps running. Detect and repair it.

Fix n8n hasField() Returning True for toString and constructor

n8n's hasField() says every item has a toString field, even empty ones. The in operator is the cause — here is the own-key check that answers correctly.

Fix n8n Source Control Pull Blanking a Variable's Value (Same Key, Different ID)

An n8n source control pull can silently blank a local variable's value when Git tracks the same key under a different id. Snapshot, restore, and prevent it.

Fix n8n Source Control Pull Deleting a Variable Moved Between Team Projects

An n8n source control pull can silently delete a project variable that was moved from one team project to another upstream. Snapshot, restore, and prevent it.

Fix n8n Duplicate Variable Keys After Moving a Variable to Another Project

Moving an n8n variable into a project that already has the same key silently creates a duplicate — and $vars then returns whichever value comes back first.

Fix n8n Webhook CORS: Allowed Origins Is Ignored on Dynamic Paths

Your n8n webhook's Allowed Origins list is silently ignored when the path has a dynamic segment like :id — any site can read the response. The static-path fix.

Fix n8n Parent Execution Stuck on 'Waiting' Forever After a Sub-Workflow Finishes

A parent n8n execution stays 'waiting' for hours after its sub-workflow finished. The WaitTracker race, the two log lines that prove it, and the fixes.

Fix n8n Webhook CORS: Only the First Allowed Origin Works When the List Has Spaces

Your n8n webhook's Allowed Origins list ignores every origin after the first when a space follows the comma. The one-character fix.

Fix n8n Renaming a Node Silently Breaking References to Similarly-Named Nodes

Renaming a node in n8n rewrites $node references to nodes whose names start with the old one — Code1 becomes Transform1. Here's the cause and the fix.

Fix n8n Cancelling a Queued Execution Breaking Your Concurrency Limit

Cancelling a queued n8n execution starts the next one immediately — even with every slot full — breaking N8N_CONCURRENCY_PRODUCTION_LIMIT. Cause and fix inside.

Fix n8n DateTime.diffTo() Silently Returning undefined for weekday, weekNumber, and yearDayNumber

n8n's DateTime.diffTo() with 'weekday', 'weekNumber', or 'yearDayNumber' silently returns undefined — no error. Here's the cause and the fix.

Fix n8n String length() Counting Every Emoji as Two Characters

n8n's String length() counts UTF-16 code units, so one emoji reads as 2 characters. Here's the cause and the Code-node fix that counts real characters.

Fix n8n Merge Nodes Deadlocking Inside a Loop (Execution Stops with 'Success', GH #44423)

Two Merge nodes in a loop body wait on each other and n8n ends the run as 'Success' without running either. Here's the cause and the fix.

Fix n8n $('Node').first() Returning null for a Node's Error Output in Webhook Executions (2.46 Regression)

In n8n 2.46.0+, expressions reading a node's error output return null in production webhook runs — silently. Here's the verified cause and two workarounds.

Fix n8n S3 Node Uploading the Wrong File When Items Use Different Binary Field Names (GH #44299)

Your n8n S3 node uploads the wrong file when items use different binary field names — it reads the field name from item 0. Here's the fix.

Fix n8n Microsoft SQL Node Treating $123 in a Bracketed Table Name as a Missing Query Parameter (GH #44362)

n8n v3 rejects bracketed table names like [Company$Table 1$123-456-789] with '$123, but only 0 query parameter(s) are set'. Here's the one-line fix.

Fix n8n SharePoint Node 500 Error on Multi-Choice Columns (GH #44139)

The n8n SharePoint node fails with a 500 error on multi-select Choice columns. Here's the HTTP Request workaround with the Graph fix.

Fix n8n Microsoft OAuth2 Token Refresh Failing on Power BI 403 TokenExpired (GH #44124)

Power BI calls in n8n die with 403 TokenExpired an hour after connecting, and the Microsoft OAuth2 credential never refreshes. Here's the fix.

Fix n8n AI Agent Leaking Chat Trigger Fields Into MCP Tool Calls (GH #43911)

Your n8n AI Agent calls an MCP tool and the server rejects a parameter nobody sent. The Chat Trigger's action field is leaking in — here's the fix.

Fix n8n Outlook 'Add Attachment' Attaching the Wrong File (GH #44021)

Your n8n Outlook node attaches the wrong file when items use different binary field names — it reads the field name from item 0. Here's the fix.

Fix n8n HTTP Request Pagination Failing with ERR_INVALID_ARG_TYPE on 204 Empty Responses (GH #43928)

n8n's HTTP Request node crashes with ERR_INVALID_ARG_TYPE when a paginated API returns 204 No Content. Here's the fix.

Fix n8n Source Control Breaking on One Malformed JSON File (Status, Push, and Pull All Fail)

One broken JSON file in n8n's source-control work folder kills every status check, push, and pull. Here's how to find and fix it.

Fix n8n OpenAI Image Generation Breaking on December 1, 2026 (gpt-image-1-mini Retires, GH #43892)

OpenAI retires gpt-image-1-mini on Dec 1, 2026 — the default model of n8n's OpenAI image node. Switch to gpt-image-2.6 before your workflows break.

Fix n8n HTTP Request 'Never Error' Returning 401 Forever When a Credential Token Expires (GH #43839)

n8n's HTTP Request node with 'Never Error' on returns 401 forever once a short-lived token expires — the refresh never runs. Here's the fix.

Fix n8n HTTP Request Node Turning UTF-8 Accented Text into Garbled Chinese Characters (GB18030 Mojibake, GH #43713)

n8n's HTTP Request node re-decodes valid UTF-8 JSON as GB18030, turning 'Point d'étape' into 'Point d'茅tape'. One setting fixes it.

Fix n8n Form Trigger Editor Stuck on "Waiting for you to submit the form" (GH #43759)

Your form submits and the workflow runs, but the editor stays stuck on 'Waiting for you to submit the form'. The push event never arrives — here's the fix.

Fix n8n 'Building Workflow Dependency Index' Stuck Forever After Upgrade (GH #40246)

n8n prints 'Building workflow dependency index...' after an upgrade and never finishes — high CPU, zero executions, no error. One SQL delete unblocks it.

Fix n8n Firestore Node Saving Tiny Decimals as Integers (Silent Data Corruption, GH #40249)

n8n's Firestore node writes 0.0000001 as integerValue instead of doubleValue — silent corruption, no error. One toString() check is the cause; here is the fix.

Fix n8n $('Code') Expressions Resolving to null After Upgrading to 1.123.x

After upgrading to n8n 1.123.85, $('Code') expressions silently resolve to null while executions report success. Two team-confirmed fixes.

Fix n8n Postgres Trigger Silently Stops Listening (Two Root Causes, Five Fixes)

Your n8n Postgres Trigger fires fine for hours, then goes silent with no error. Two verified causes and five fixes.

Fix n8n Publishing Silently Failing When a Trigger Node ID Exceeds 36 Characters (Postgres)

You publish in n8n, the editor says success — but production still runs the old version. A 36-character Postgres column is the culprit. Here is the fix.

Fix n8n 'Multiple matches found' Error: Data Table Get Row(s) Breaks Item Pairing

Your Data Table lookup works with one item and throws 'Multiple matches found' with two. Always Output Data is the cause — here are the two fixes.

Fix n8n MCP OAuth 'Couldn't Register With n8n's Sign-in Service' Error (Claude.ai)

Claude.ai can't register with your self-hosted n8n's MCP server? n8n advertises localhost OAuth URLs behind your tunnel — 5 env vars fix it.

Fix n8n Zoho OAuth2 'Unable to sign without access token' for Canada Accounts (CN Points to China)

n8n's Zoho credential has no Canada option — 'CN' routes you to China's endpoint. Use a Generic OAuth2 credential pointed at accounts.zohocloud.ca instead.

Fix n8n SplitInBatches Loop Ending Early: Execution Says Success but Items Are Missing

Your n8n loop processes 49 of 350 items, then ends with 'success' and no error. A node returning zero items silently kills the loop — here are 5 fixes.

Fix n8n Email Trigger (IMAP) 'Cannot Connect' to NetEase 163.com / 126.com Mailboxes

n8n can't connect to a 163.com, 126.com or 188.com mailbox? NetEase rejects mailbox passwords — use the 16-char authorization code instead.

Fix n8n Salesforce OAuth 'The Requested Scope Is Not Allowed' Error (5 Fixes)

n8n's Salesforce credential fails with 'the requested scope is not allowed'? Align the Connected App scopes and fix PKCE — 5 verified fixes.

Fix n8n AI Agent Stopping When a Tool Fails or Returns Empty (5 Fixes)

Your n8n AI Agent dies the moment one tool fails or returns nothing. Real cause: the agent treats tool errors as fatal. 5 verified fixes that let it recover.

Fix n8n 'Cannot Resolve Paired Item' Error (5 Fixes That Actually Work)

n8n's 'Cannot resolve paired item' error means the item-linking chain broke. 5 verified fixes — from $json to pairedItem in the Code node.

Fix n8n 'FATAL: database files are incompatible with server' After a Postgres Upgrade (16→17→18)

Postgres refuses to start after a tag bump? The fix is dump-and-restore into a fresh volume — verified steps for 16→17 and the Postgres 18 path change.

Fix n8n Google Drive "Quota Exceeded" Errors in Production (5 Fixes)

Google Drive worked in testing, then production died with "Quota exceeded for quota metric 'Queries'". Diagnose the exact quota and fix it — 5 verified steps.

Fix n8n Qdrant Vector Store 'fetch failed' Error on Qdrant 1.19.x (4 Fixes)

n8n's Qdrant Vector Store node fails with 'fetch failed' after a Qdrant upgrade. Real cause: a bundled JS-client / Node.js mismatch. 4 verified fixes.

Fix n8n SMTP Node Rejecting Multi-Recipient Arrays (EENVELOPE 501 Guide)

n8n's SMTP node mangles nested recipient arrays and still reports success. Root cause plus 3 exact fixes using flat().join() and comma-joined strings.

Fix n8n Postgres Query Parameters Splitting on Commas (GH #40022 Guide)

n8n's Postgres node splits query parameter values on commas, turning 'Doe, John' into two bind values. Root cause in stringToArray plus 3 exact fixes.

Fix n8n WhatsApp Trigger Not Firing in Production (5 Fixes That Actually Register the Webhook)

WhatsApp messages never reach your active n8n workflow? 5 verified fixes: test vs production URL, subscribed_apps, stale subscriptions.

Fix Duplicate Orders and Charges from Webhook Retries in n8n (Idempotency Gate Pattern)

Webhook retries make n8n charge customers twice. Build an idempotency gate: Postgres UNIQUE event table + stable idempotency keys.

Fix n8n Email Trigger (IMAP) Not Firing on New Emails (6 Verified Fixes)

n8n IMAP trigger silently dead on new emails? 6 verified fixes: re-save credential, reset UID watermark, Format=Resolved, Force Reconnect.

Fix n8n Agent Builder Failing with Custom OpenAI-Compatible Endpoints (3 Root Causes, 3 Fixes)

Agent Builder preview fails with a 'get_environment' schema error or gateway rejections on custom OpenAI-compatible endpoints? 3 verified causes, 3 real fixes.

Fix Google Sheets Nodes 'Hanging Indefinitely' in n8n Cloud (5 Verified Fixes)

n8n Google Sheets node stuck listening for a trigger event? 5 verified fixes: test-listener trap, OAuth mismatch, stale schema, polling throttles.

Fix n8n Cloud + Neon PostgreSQL: pg_stat_ssl Says ssl=false but Your Connection Is Encrypted

pg_stat_ssl says ssl=false on Neon but your n8n Cloud connection is encrypted. The proxy explanation, real TLS checks, and exact credential settings.

Fix n8n Data Table Size-Limit Errors After Deleting Rows (VACUUM FULL Guide)

Deleted rows from an n8n Data Table but inserts still fail the storage limit? Postgres dead tuples are the cause — VACUUM FULL reclaims the space. Exact steps.

Fix 'DOMMatrix is not defined' in n8n's PDF Extraction Node on Docker

n8n's Extract from File node failing with 'DOMMatrix is not defined' on PDFs after 1.98.0? The @napi-rs/canvas native binding is the fix. Full steps inside.

Fix n8n Microsoft Teams Trigger Stopping After a Few Days (Silent Expiry)

Your n8n Microsoft Teams Trigger fires fine for 3 days then goes silent with no error? The Microsoft Graph subscription expired. 4 verified fixes inside.

Fix n8n Webhook Latency Spikes from VM Expression-Isolate Overhead (GH #41322)

n8n webhook alternating ~60ms/~280ms on every request? The VM expression-isolate pool is cold-starting. Two env vars fix it.

Fix Anthropic 'Invalid signature in thinking block' 400 Error in n8n AI Agent (GH #41152)

n8n AI Agent fails with 400 Invalid signature in thinking block only when Claude makes parallel tool calls. Root cause + 4 verified fixes.

The n8n Wait Node Doesn't Wait the Way You Think — Timing, Resume, and 5 Fixes

n8n webhook answers before your agent finishes? Wait node never resumes? The real timing mechanics plus 5 verified fixes.

Fix Cloudflare 403 Blocking the OpenAI Chat Model in n8n (5 Verified Fixes)

OpenAI Chat Model dies with a Cloudflare 'Sorry, you have been blocked' 403? Isolate it with a hotspot test, grab the Ray ID, and clear it.