I am having trouble with my n8n workflow, especially when it connects to Supabase to get information. I’m getting an error message that says ‘contents.parts must not be empty’.
I am having trouble with my n8n workflow, especially when it connects to Supabase to get information. I’m getting an error message that says ‘contents.parts must not be empty’.
```
Bad request - please check your parameters
[GoogleGenerativeAI Error]: Error fetching from (https://generativelanguage.googleapis.com/v1beta/models/gemini-2.0-flash-exp:streamGenerateContent?alt=sse:) [400 Bad Request] * GenerateContentRequest.contents[4].parts: contents.parts must not be empty.
```
Can you help me figure out what’s wrong?
What is the error message (if any)?
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: