Gemini Text Generator not working

I have been trying to get. My Gemini text generator node to work but it's not working and my API key is working because I tested it with Python. But every time I test my Gemini text generator node. I get this.

Cannot read properties of undefined (reading '0')
image.png
Was this page helpful?