n8n - 💡(How to fix) Fix Official Supabase Node Fails with "Authorization failed" - HTTP Request and Community Node Work (n8n 2.20.9)

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…

Error Message

The official n8n Supabase node fails during credential testing with error: "Authorization failed - please check your credentials". The same credentials work correctly with the HTTP Request node (using only apikey header), the community node (n8n-nodes-supabase-advanced), and direct curl from the server. 6. Error appears immediately: "Authorization failed - please check your credentials"

RAW_BUFFERClick to expand / collapse

Bug Description

The official n8n Supabase node fails during credential testing with error: "Authorization failed - please check your credentials". The same credentials work correctly with the HTTP Request node (using only apikey header), the community node (n8n-nodes-supabase-advanced), and direct curl from the server.

To Reproduce

  1. In n8n, go to Credentials → New Credential
  2. Select "Supabase API" (official node)
  3. Enter Host: https://your-project.supabase.co
  4. Enter Service Role Secret: service_role key
  5. Click "Test Connection" or "Save"
  6. Error appears immediately: "Authorization failed - please check your credentials"

Expected behavior

The credential test should pass with a valid service_role key and show "Connection tested successfully".

Debug Info

From n8n logs during credential testing:

Authorization failed - please check your credentials Authorization failed - please check your credentials The connection cannot be established, this usually occurs due to an incorrect host (domain) value Authorization failed - please check your credentials

The credentials work correctly with:

HTTP Request node (using only apikey header) Community node (n8n-nodes-supabase-advanced) Direct curl from server

Operating System

Ubuntu (running on VPS via Docker)

n8n Version

2.20.9

Node.js Version

v24.14.1

Database

SQLite (default)

Execution mode

main (default)

Hosting

Self-Hosted n8n

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

The credential test should pass with a valid service_role key and show "Connection tested successfully".

Still need to ship something?

×6

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

Back to top recommendations

TRENDING

n8n - 💡(How to fix) Fix Official Supabase Node Fails with "Authorization failed" - HTTP Request and Community Node Work (n8n 2.20.9)