Execute a SQL query in Postgres Failing to take input from Gemini chat model Output

Describe the problem/error/question : I am trying to create sql query via gemini chat model through manual natural language input. This works fine, however, the postgres node does not produce the output. Have tried all fix given by AI asisstant.

What is the error message (if any)? No output

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.)

![image|690x393](upload://35ozpY7CpBBLGp0SnOTy3rRKeGN.jpeg)

Share the output returned by the last node

Information on your n8n setup

Hey Tokita!
If the sql node input was invalid I would expect to see an error thrown. You are reprting the output is empty - does that mean an empty array ?
If so that would mean your query is just not returning any results. I would validate the query and the data your are looking for in the Db outside of n8n to confirm.

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