Error in Supabase

Hello i have a problem with the supabase vector db.Ii become the error: Input data must contain a “input” field with the search query ! What can i do?

Input data must contain a "input" field with the search query 

Please share your workflow

(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)

Share the output returned by the last node

Information on your n8n setup

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

@Wolfgang1963 Supabase expects the query text to come in a field literally named “input” (the prompt/search string). So you must map your workflow data into an input property before the vector search. Otherwise, Supabase rejects it with that error.

Hi @Wolfgang1963

That error means the data reaching Supabase does not include a field named exactly input at execution time.

Check the node immediately before Supabase and make sure it outputs a JSON like:

{
  "input": "your search text"
}

If your workflow uses a different field name, add a Set node to rename it to input, or map it explicitly using an expression.

After that, re-run the workflow. No other configuration changes are needed.

If it still fails, inspect the incoming data to the Supabase node and confirm the input field exists and is not empty.