API error occurred: Status 400 Content-Type application/json Body {"object":"error","message":"Please provide at least one input element.","type":"invalid_request_no_input","param":null,"code":"3050"} API error occurred: Status 400 Content-Type applicatio

API error occurred: Status 400 Content-Type application/json Body {“object”:“error”,“message”:“Please provide at least one input element.”,“type”:“invalid_request_no_input”,“param”:null,“code”:“3050”}

API error occurred: Status 400 Content-Type application/json Body {“object”:“error”,“message”:“Please provide at least one input element.”,“type”:“invalid_request_no_input”,“param”:null,“code”:“3050”}

The error Please provide at least one input element (code 3050) occurs because the Supabase node is not receiving any input data for the “Retrieve Documents” operation. In n8n, this usually happens if the input field (like query or search text) is empty or not mapped correctly from the previous node.

Fix: Make sure you provide at least one value in the query/input field, either by hardcoding it or mapping it from the previous node’s output.

Main suspect: Mistral AI returns the empty query as a result, as I see in screenshot.

How to provide at least one value in the query/input field, either by hardcoding it or mapping it from the previous node’s output? May you tell me step by step please? Because I’m still beginner and new to n8n

Hey,

query field is empty ("") in your node input. Supabase cannot search without a query.

You have two options:

  1. Hardcode a query (simple, good for testing)

    • Example: "query": "customer email"
  2. Map query from previous node output (dynamic, usually from a trigger like “Chat Input”)

    • This allows the query to change per incoming message.

Hardcode a query (for testing)

  1. Open your Supabase node in n8n.

  2. In the Description / Query field, type a test value : “Konser”

  3. Execute the node: It should return documents that match “Konser” and the 400 error should disappear.

Map query dynamically from previous node : {{ $json[“chatInput”] }}

Right this?

Replace your actual query without double quote

Okay. Right this?

What’s your actual query?
It’s only konserv then it’s ok otherwise add your actual query

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.