n8n - 💡(How to fix) Fix Supabase node throws "Invalid URL" in appendResumeToken on v2.16.2 (regression) [2 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
n8n-io/n8n#28801Fetched 2026-04-22 08:03:11
View on GitHub
Comments
2
Participants
2
Timeline
5
Reactions
0
Author
Timeline (top)
commented ×2labeled ×1mentioned ×1subscribed ×1

Error Message

{ "errorMessage": "Invalid URL", "n8nDetails": { "n8nVersion": "2.16.2 (Self Hosted)", "binaryDataMode": "filesystem", "stackTrace": [ "TypeError: Invalid URL", " at new URL (node:internal/url:819:25)", " at appendResumeToken (.../n8n-core/src/execution-engine/node-execution-context/utils/get-additional-keys.ts:14:17)", " at getAdditionalKeys (.../get-additional-keys.ts:30:15)", " at ExecuteContext.get additionalKeys (.../node-execution-context.ts:435:27)", " at ExecuteContext._getNodeParameter (.../node-execution-context.ts:473:11)", " at ExecuteContext.getNodeParameter (.../execute-context.ts:136:9)", " at ExecuteContext.execute (.../Supabase/Supabase.node.ts:174:25)", " at WorkflowExecute.executeNode (.../workflow-execute.ts:1045:31)", " at WorkflowExecute.runNode (.../workflow-execute.ts:1224:22)" ] } }

Root Cause

  • Supabase credential verified working (table list loads correctly in the node dropdown, schema selection works).
  • All previously functioning Supabase workflows fail with the same error after the upgrade.
  • Same appendResumeToken failure pattern reported for the Google Sheets node in the v2.16 community thread linked above, strongly suggesting a shared root cause.

Code Example

{
  "errorMessage": "Invalid URL",
  "n8nDetails": {
    "n8nVersion": "2.16.2 (Self Hosted)",
    "binaryDataMode": "filesystem",
    "stackTrace": [
      "TypeError: Invalid URL",
      "    at new URL (node:internal/url:819:25)",
      "    at appendResumeToken (.../n8n-core/src/execution-engine/node-execution-context/utils/get-additional-keys.ts:14:17)",
      "    at getAdditionalKeys (.../get-additional-keys.ts:30:15)",
      "    at ExecuteContext.get additionalKeys (.../node-execution-context.ts:435:27)",
      "    at ExecuteContext._getNodeParameter (.../node-execution-context.ts:473:11)",
      "    at ExecuteContext.getNodeParameter (.../execute-context.ts:136:9)",
      "    at ExecuteContext.execute (.../Supabase/Supabase.node.ts:174:25)",
      "    at WorkflowExecute.executeNode (.../workflow-execute.ts:1045:31)",
      "    at WorkflowExecute.runNode (.../workflow-execute.ts:1224:22)"
    ]
  }
}
RAW_BUFFERClick to expand / collapse

Bug Description

After upgrading to n8n 2.16.2, the Supabase node fails on every execution with TypeError: Invalid URL originating from appendResumeToken. Previously working workflows using the Supabase node are now broken. This appears to be the same regression reported for the Google Sheets node in community thread #287576, suggesting a shared underlying cause across multiple nodes that use appendResumeToken.

To Reproduce

  1. Run n8n 2.16.2 self-hosted (Docker).
  2. Create a Supabase credential with a valid host and service role key.
  3. Add a Supabase node, operation "Get a row" (or any other operation).
  4. Select a valid table and execute the node.

Expected behavior

Node executes and returns rows from the selected table.

Debug Info

Expected behavior

Node executes and returns rows from the selected table.

Actual behavior

Node fails immediately with Invalid URL.

Error / stack trace

{
  "errorMessage": "Invalid URL",
  "n8nDetails": {
    "n8nVersion": "2.16.2 (Self Hosted)",
    "binaryDataMode": "filesystem",
    "stackTrace": [
      "TypeError: Invalid URL",
      "    at new URL (node:internal/url:819:25)",
      "    at appendResumeToken (.../n8n-core/src/execution-engine/node-execution-context/utils/get-additional-keys.ts:14:17)",
      "    at getAdditionalKeys (.../get-additional-keys.ts:30:15)",
      "    at ExecuteContext.get additionalKeys (.../node-execution-context.ts:435:27)",
      "    at ExecuteContext._getNodeParameter (.../node-execution-context.ts:473:11)",
      "    at ExecuteContext.getNodeParameter (.../execute-context.ts:136:9)",
      "    at ExecuteContext.execute (.../Supabase/Supabase.node.ts:174:25)",
      "    at WorkflowExecute.executeNode (.../workflow-execute.ts:1045:31)",
      "    at WorkflowExecute.runNode (.../workflow-execute.ts:1224:22)"
    ]
  }
}

Environment

  • n8n version: 2.16.2 (Self Hosted, Docker)
  • Hosted via: Coolify
  • OS: Linux (Ubuntu)
  • Affected node: Supabase (n8n-nodes-base.supabase)
  • Supabase instance: self-hosted, same VPS, reachable via HTTPS subdomain

Additional context

  • Supabase credential verified working (table list loads correctly in the node dropdown, schema selection works).
  • All previously functioning Supabase workflows fail with the same error after the upgrade.
  • Same appendResumeToken failure pattern reported for the Google Sheets node in the v2.16 community thread linked above, strongly suggesting a shared root cause.

Operating System

debian 13

n8n Version

2.16.2

Node.js Version

v24.14.1

Database

SQLite (default)

Execution mode

main (default)

Hosting

self hosted

extent analysis

TL;DR

The Invalid URL error in the Supabase node after upgrading to n8n 2.16.2 is likely due to an issue with the appendResumeToken function, suggesting a regression similar to the one reported for the Google Sheets node.

Guidance

  • Verify that the Supabase credential is correctly configured and the instance is reachable via HTTPS, as the error might be related to URL construction.
  • Check if downgrading to a previous version of n8n (e.g., 2.15.x) resolves the issue, to confirm if it's a regression introduced in 2.16.2.
  • Investigate the appendResumeToken function in the n8n-core package to see if there are any changes or issues related to URL handling that could be causing the error.
  • Consider reaching out to the n8n community or developers, referencing the similar issue with the Google Sheets node, to see if there's a known fix or workaround.

Example

No specific code example is provided due to the lack of direct code reference in the issue, but investigating the appendResumeToken function and its usage in the Supabase node could yield insights.

Notes

The issue seems to be related to a regression in n8n 2.16.2, affecting multiple nodes that use the appendResumeToken function. Without direct access to the code or more specific details about the changes in 2.16.2, it's challenging to provide a precise fix.

Recommendation

Apply a workaround by downgrading to a previous version of n8n (if possible) until the issue is officially addressed, as it seems to be a regression introduced in version 2.16.2.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

FAQ

Expected behavior

Node executes and returns rows from the selected table.

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING