The service is receiving too many requests from you agent ai llm gemini

Hi everyone,

I suddenly started getting this error with my AI Agent node:

The service is receiving too many requests from you

What’s strange is that the exact same workflow was working fine before without any issues. I haven’t changed anything important in the configuration.

  • My workflow calls the AI Agent with a single request at a time.

  • It was stable and functional until recently.

  • Now it fails randomly with this rate-limit style error.

Has anyone faced the same problem?
Is this related to API rate limits, n8n itself, or something I can tweak in my workflow (like adding delays, retries, or caching)?

Any quick fixes or best practices to avoid hitting this error would be really helpful.

Thanks in advance!

here the details : {
“errorMessage”: “The service is receiving too many requests from you”,
“errorDetails”: {
“rawErrorMessage”: [
“[GoogleGenerativeAI Error]: Error fetching from https://generativelanguage.googleapis.com/v1beta/models/gemini-1.5-pro-002:streamGenerateContent?alt=sse: [429 Too Many Requests] You exceeded your current quota, please check your plan and billing details. For more information on this error, head to: Rate limits  |  Gemini API  |  Google AI for Developers. [{“@type”:“type.googleapis.com/google.rpc.QuotaFailure","violations”:[{“quotaMetric”:“generativelanguage.googleapis.com/generate_content_free_tier_requests",“quotaId”:“GenerateRequestsPerDayPerProjectPerModel-FreeTier”,“quotaDimensions”:{“location”:“global”,“model”:“gemini-1.5-pro”}},{“quotaMetric”:“generativelanguage.googleapis.com/generate_content_free_tier_requests”,“quotaId”:“GenerateRequestsPerMinutePerProjectPerModel-FreeTier”,“quotaDimensions”:{“location”:“global”,“model”:“gemini-1.5-pro”}},{“quotaMetric”:“generativelanguage.googleapis.com/generate_content_free_tier_input_token_count”,“quotaId”:“GenerateContentInputTokensPerModelPerMinute-FreeTier”,“quotaDimensions”:{“location”:“global”,“model”:"gemini-1.5-pro”}}]},{“@type”:“type.googleapis.com/google.rpc.Help","links”:[{“description”:“Learn more about Gemini API quotas”,“url”:“https://ai.google.dev/gemini-api/docs/rate-limits\\“}]},{\”@type\“:\“type.googleapis.com/google.rpc.RetryInfo\”,\“retryDelay\”:\“15s\”}]”
]
},
“n8nDetails”: {
“nodeName”: “agent parent Router”,
“nodeType”: “@n8n/n8n-nodes-langchain.agent”,
“nodeVersion”: 2,
“time”: “19/08/2025 16:10:44”,
“n8nVersion”: “1.97.1 (Self Hosted)”,
“binaryDataMode”: “default”,
“stackTrace”: [
“NodeOperationError: The service is receiving too many requests from you”,
" at /usr/local/lib/node_modules/n8n/node_modules/@n8n/n8n-nodes-langchain/nodes/agents/Agent/agents/ToolsAgent/V2/execute.ts:127:12”,
" at Array.forEach ()“,
" at ExecuteContext.toolsAgentExecute (/usr/local/lib/node_modules/n8n/node_modules/@n8n/n8n-nodes-langchain/nodes/agents/Agent/agents/ToolsAgent/V2/execute.ts:116:16)”,
" at processTicksAndRejections (node:internal/process/task_queues:95:5)“,
" at ExecuteContext.execute (/usr/local/lib/node_modules/n8n/node_modules/@n8n/n8n-nodes-langchain/nodes/agents/Agent/V2/AgentV2.node.ts:167:10)”,
" at WorkflowExecute.runNode (/usr/local/lib/node_modules/n8n/node_modules/n8n-core/src/execution-engine/workflow-execute.ts:1185:9)“,
" at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/src/execution-engine/workflow-execute.ts:1534:27”,
" at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/src/execution-engine/workflow-execute.ts:2098:11”
]
}
}

Hey @Hanen_Goubaa hope all is good.

The answer to your question, at least the part about where does this error comes from is right in the error text itself.

Error fetching from https://generativelanguage.googleapis.com/v1beta/models/gemini-1.5-pro-002:streamGenerateContent?alt=sse: [429 Too Many Requests] You exceeded your current quota, please check your plan and billing details. For more information on this error, head to: Rate limits | Gemini API | Google AI for Developers.

1 Like

Hi @Hanen_Goubaa

it’s because your gemini already reached the limit, I think you’re in free plan.
You can upgrade it by adding your card to your billing account in Google Cloud Platform

1 Like

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