Information on your n8n setup
- n8n version: 1.74.1
- Database (default: SQLite):
- n8n EXECUTIONS_PROCESS setting (default: own, main):
- Running n8n via Chrome
- Operating system: Windows 11
I am facing an issue with the AI Agent, where I am integrating a Gemini chat model + AI agent + memory buffer + Google Calendar.
When I connect the Google Calendar node, it throws the following error:
Issues:
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.tools[0].function_declarations[0].name: Invalid function name. Must start with a letter or an underscore. Must be alphameric (a-z, A-Z, 0-9), underscores (_), dots (.) or dashes (-), with a maximum length of 64. )
Execution Error.
Without connecting the Google Calendar node, it works normally.