// guides · n8n error index

n8n Supabase node errors: credentials, RLS and filter fixes, 41 runs

Fix the n8n Supabase node: Invalid path specified in request URL, no Route matched, Could not find the table in the schema cache, Invalid schema, permission denied, filters that fail to parse, and silent 0-item results from RLS. 41 real runs on n8n 2.43.7.

Updated 2026-10-24 · about 10 minutes

Still stuck after these steps? Paste your exact n8n error and we'll reproduce it and email you the fix, free →

Steps

  1. Host is just the project URL, nothing after it

    The node adds /rest/v1/<table> to the Host itself. A Host ending in /rest/v1/ produced /rest/v1/rest/v1/orders and the error The resource you are requesting could not be found: Invalid path specified in request URL. Pasting the dashboard address (…/project/<ref>) gave no Route matched with those values, and a Host without https:// gave Invalid URL. Use https://<project-ref>.supabase.co; a trailing slash is fine.

  2. Use the service_role key, and know what the anon key hides

    The Service Role Secret field is sent as both apikey and Authorization: Bearer. A key from another project (signed with a different secret) failed with Authorization failed - please check your credentials: No suitable key or wrong key type; older Supabase versions word it JWSError JWSInvalidSignature. Pasting the anon key instead is sneaky: reads worked, then the first Create failed with permission denied for table orders. Copy the service_role key from Project Settings, API keys. Keep it in n8n only, never in a browser app.

  3. 'Could not find the table … in the schema cache'? Check case and schema

    Table names are case-sensitive. customers failed with Could not find the table 'public.customers' in the schema cache when the table was created as "Customers"; the exact name worked. A table outside public failed the same way until we turned on Use Custom Schema. With the schema set but not exposed to the API, the node said Invalid schema: shop (status 406). Add the schema under the Data API's exposed schemas in your Supabase settings, then it returned rows.

  4. 0 items and no error? It's usually Row Level Security

    With RLS on and no policy, the anon key got a successful run with 0 items, so the next node silently didn't run. The same query with the service_role key returned the row, because service_role bypasses RLS. Either use the service_role key or add a policy for the role you use. If the role has no table grant at all, you get permission denied for table notes instead.

  5. Write string filters without ? or SQL

    In Filters (String), status=eq.new worked. A leading ? doubled it in the URL and failed with failed to parse tree path (?status); SQL style status = 'new' failed with failed to parse filter ( 'new'). Combine filters with &, as in the PostgREST syntax. Column names are case-sensitive too: Status gave column orders.Status does not exist. To match empty values pick the Is condition with null: Equals null compared with the text 'null' and returned 0 rows without an error.

  6. Create: only send real columns, in the right format

    With auto-map, every input field is sent as a column. An extra field failed with Could not find the 'customerName' column of 'orders' in the schema cache; listing it in Inputs to Ignore (or using a Set node first) fixed it. Other errors came straight from Postgres: duplicate key value violates unique constraint (409) for a repeated unique value, invalid input syntax for type numeric: "12,50" for a comma decimal, and null value in column … violates not-null constraint for a missing required column. Columns with spaces worked fine.

  7. Update and Delete hit every row the filter matches

    Update runs once per input item, and each run changes every row its filter matches. With filter status=new and 2 input items, item 1 updated all 3 matching rows, and item 2 then matched nothing. Filter on a unique column such as the id taken from the item. An Update or Get that matches nothing succeeds with 0 items, so the rest of the workflow stops without an error (see next node not running).

What we ran

On 23 October 2026 we ran 41 executions with n8n execute on n8n 2.43.7 (Supabase node version 1) against PostgreSQL 17 and PostgREST 16.5, the open-source engine behind Supabase's Data API, served under /rest/v1 by a small gateway that mimics Supabase's. Every message below is copied from those runs. Hosted Supabase may run a different PostgREST version, so a few messages can be worded slightly differently there.

SetupResult
Host http://host + service_role key3 rows (a trailing slash on the Host is stripped, also fine)
Host ending in /rest/v1/URL became /rest/v1/rest/v1/orders: The resource you are requesting could not be found: Invalid path specified in request URL
Dashboard URL (…/project/<ref>) as Host404 no Route matched with those values
Host without http(s)://Invalid URL
Wrong portconnect ECONNREFUSED 127.0.0.1:8099
https:// on a plain-http serverwrite EPROTO … wrong version number
Key signed with a different JWT secret401 Authorization failed - please check your credentials: No suitable key or wrong key type
anon key in the Service Role Secret field, readWorked (3 rows), because anon could SELECT
anon key in the Service Role Secret field, Create401 Authorization failed - please check your credentials: permission denied for table orders
Table customers when it is "Customers"404 Could not find the table 'public.customers' in the schema cache
Table in schema shop, Use Custom Schema off404 Could not find the table 'public.items' in the schema cache
Use Custom Schema = shop, schema not exposed406 Your request is invalid or could not be processed by the service: Invalid schema: shop
Same, after exposing shop in the API schemas1 row
RLS on, no policy, anon keySuccess, 0 items, no error
Same table, service_role key1 row (service_role bypasses RLS)
Filters (String) status=eq.new2 rows
Filters (String) ?status=eq.new400 failed to parse tree path (?status)
Filters (String) status = 'new'400 failed to parse filter ( 'new')
Filter on Status when the column is status400 column orders.Status does not exist
Condition Equals + value null0 rows, no error (compares with the text 'null')
Condition Is + null3 rows
Get a row that doesn't exist0 items, no error, next node doesn't run
Create, auto-map with an extra input field customerName400 Could not find the 'customerName' column of 'orders' in the schema cache
Same, with Inputs to Ignore = customerNameCreated
Create with a duplicate unique value409 duplicate key value violates unique constraint "orders_order_no_key"
Create with total 12,50400 invalid input syntax for type numeric: "12,50"
Create without a NOT NULL column400 null value in column "order_no" of relation "orders" violates not-null constraint
Column with a space (Shipping Zip), value 007Created, 007 kept as text
Update whose filter matches nothingSuccess, 0 items, next node doesn't run
Update filter status=new, 2 input itemsItem 1 updated all 3 matching rows; item 2 then matched nothing
Limit 1 + order by total descTop row

Good to know

What we didn't test

FAQ

Why does the n8n Supabase node say Invalid path specified in request URL?

Your Host includes /rest/v1. The node adds it itself, so the URL becomes /rest/v1/rest/v1/table. Set Host to https://your-project-ref.supabase.co only.

Why does the n8n Supabase node return no data?

In our tests, Row Level Security with no policy returned 0 items and no error for the anon key. Use the service_role key or add a policy. A filter or Get that matches nothing also returns 0 items silently.

Why does n8n say Could not find the table in the schema cache?

The table name is case-sensitive, or the table is in another schema. Use the exact name, turn on Use Custom Schema, and expose that schema in Supabase's API settings.

Which key does the n8n Supabase credential need?

The service_role secret. The anon key can read where it is allowed and then fail on writes with permission denied for table.

Why did the n8n Supabase Update change several rows?

Update applies to every row its filter matches, once per input item. Filter on a unique column like the id.

Related guides

New guides

Still stuck on your n8n error?

Paste the exact error and say what the workflow should do. We reproduce it on a real n8n install and email you the fix or a working workflow, usually within 24h. Free while we're in beta.

We'll only email you about your error and TaskToAgent.